REST Auth API: RegistrationSourceInfo
RegistrationSourceInfo resources are a subresource of Registration, and provide read-only information about the origin of a registration.
RegistrationSourceInfo instance resource
Resource URI
/api/2012-02-01/auth/resources/registrations/{RegistrationID}/sourceinfo/
Related resource links
Link (title) | Description |
---|---|
Region | Reference to the Region the contact was in when placing this registration. Available only for registrations placed via the website. This link is not available for registrations created using the Management platform. |
HTTP GET
Returns a representation of an RegistrationSourceInfo resource, including the properties above.
Example 1
Retrieve the source information for a registration, with no Region
link expansion.
GET /api/2012-02-01/auth/resources/registrations/876/sourceinfo/
<RegistrationSourceInfo> <Link rel="self" type="application/xml" href="https://demo.arlo.co/api/2012-02-01/auth/resources/registrations/876/"/> <Link rel="http://schemas.arlo.co/api/2012/02/auth/related/Region" type="application/xml" href="https://demo.arlo.co/api/2012-02-01/auth/resources/regions/1/"/> </RegistrationSourceInfo>
Example 2
Retrieve the source information for a registration, with Region
link expansion.
GET /api/2012-02-01/auth/resources/registrations/876/sourceinfo/?expand=Region
<RegistrationSourceInfo> <Link rel="self" type="application/xml" href="https://demo.arlo.co/api/2012-02-01/auth/resources/registrations/876/"/> <Link rel="http://schemas.arlo.co/api/2012/02/auth/related/Region" type="application/xml" href="https://demo.arlo.co/api/2012-02-01/auth/resources/regions/1/"> <Region> <RegionID>1</RegionID> <Name>New Zealand</Name> <ShortName>NZ</ShortName> <Link rel="self" type="application/xml" href="https://xero.arlo.co/api/2012-02-01/auth/resources/regions/1/"/> </Region> </Link> </RegistrationSourceInfo>
HTTP POST
Not supported.
HTTP PUT
Not supported.
HTTP DELETE
Not supported.