getPartnerTypes
- Home
- External Content
- SvcExtContent
- getPartnerTypes
getPartnerTypes
Retrieve the list of allowed content types for this partner.
Parameters
| Name | Description |
| partnerID optional | Unique numeric identifier of partner. |
| partnerName optional | Unique name of partner. |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/svcExtContent?action=getPartnerTypes&partnerID=335&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
{ "service":"svcExtContent", "action":"getPartnerTypes", "code":1, "message":"Successfully retrieved types", "item":[ "article", "image", "video", "post", "web", "story" ], "total":6 } |
Service Information
| Service | svcExtContent |
| Method | getPartnerTypes |
| Type | REST |
| Response Types | JSON, XML |