Person.GetById
Summary
Returns basic information about the person with the given id.
Signatures
- Web Service Method Signature
- Person GetById(string apiKey, string site, int id)
- REST Signature
- /rest/person/GetById?apiKey={apiKey}&site={site}&id={id}
Return Value
The person with the given id.
Arguments
- apiKey
Your API key.
For more information see here.
- site
The site the API should be executed against, e.g. www.ditto.net.
- id
The id of the person to get.
REST Example
http://api.ditto.net/rest/person/GetById?apiKey=xxxx&site=www.ditto.net&id=2
Response Example
<Person xmlns="http://www.ditto.net" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<DittoUrl>http://www.ditto.net/Members/Mike/</DittoUrl>
<Id>2</Id>
<Slug>Mike</Slug>
<UserName>Mike</UserName>
</Person>