sociotoco.sets.get
With the sociotoco.sets.get method you can retrieve the
set with a given SociotocoID. This method will also return the
profiles connected to the set.
Authentication
This method requires authentication.
Arguments
Required
Example Request
GET
/services/1.1/rest?method=sociotoco.sets.get&key=[your_key]&sid=[sociotocoId]&time=[unix_timestamp]&sig=[signature]
HTTP/1.1
Example Response
<?xml version="1.0" encoding="utf-8"?>
<response>
<sociotocoSet sociotocoId="df09ca68-20c8-4330-b37f-cc64b160b835" version="17">
<name />
<urlName>PE1D1WMH</urlName>
<profiles>
<profile id="5B2C22279AA3A4E7D4176F3ED1ED29D7">
<network id="6">Twitter</network>
</profile>
<profile id="771BCD4D138E4A78DADA9FED1AEC3A43">
<network id="7">Youtube</network>
</profile>
</profiles>
</sociotocoSet>
</response>
{
"response":{
"sociotocoSet":{
"sociotocoId":"df09ca68-20c8-4330-b37f-cc64b160b835",
"version":17,
"name":null,
"urlName":"PE1D1WMH",
"profiles":[
{
"id":"5B2C22279AA3A4E7D4176F3ED1ED29D7",
"network":{
"id":6,
"name":"Twitter"
}
},
{
"id":"771BCD4D138E4A78DADA9FED1AEC3A43",
"network":{
"id":7,
"name":"Youtube"
}
}
]
}
}
}
Error codes
| 100 |
KeyMissing
There is no key argument in the query string. |
| 101 |
SignatureMissing
There is no sig argument in the query string. |
| 200 |
KeyInvalid
There is an invalid key argument in the query string. |
| 201 |
KeyNotFound
The key is not found as a registered api key. |
| 210 |
SignatureInvalid
The supplied signature in the query string is
invalid. |
| 220 |
MethodNotSupported
The supplied method in the query string is not
supported. |
| 304 |
SociotocoIdMissing
There is no sid argument in the query string. |
| 402 |
SociotocoIdInvalid
The given SociotocoId is invalid. |
| 403 |
SociotocoSetNotFound
The Sociotoco Set is not found with the given
SociotocoId. |