GameCenter Web Api

<back to all web services

MappingResponse

The following routes are available for this service:
POST/partner/map/{ExternalType}
Parameters:
NameParameterData TypeRequiredDescription
ExternalIdpathstringYesThe external (partner) identifier
ExternalTypepathstringYesThe external (partner) type; must be exact, contact support@digitalscout.com to make sure you are using the correct type
InternalIdpathstringYesThe internal (Digital Scout) identifier; should be a 64-bit integer, but store and send as a string to be safe

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/oneway/MappingResponse HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: application/json
Content-Length: length

{"ExternalId":"String","ExternalType":"MyOhsaa","InternalId":"String"}