MobileConnect Application Server

<back to all web services

LocationRequest

The following routes are available for this service:
All Verbs/location/
All Verbs/location/name/{Name}
All Verbs/location/referid/{LocationReferId}

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

HTTP + XML

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

POST /xml/oneway/LocationRequest HTTP/1.1 
Host: 185.179.20.77 
Content-Type: application/xml
Content-Length: length

<LocationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ns.spiritdata.co.uk/ApplicationServer/types">
  <DeviceSerialNumber xmlns="http://schemas.servicestack.net/types">String</DeviceSerialNumber>
  <GeneratedAt xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</GeneratedAt>
  <SessionUid xmlns="http://schemas.servicestack.net/types">00000000-0000-0000-0000-000000000000</SessionUid>
  <PageRequestIndex xmlns="http://schemas.servicestack.net/types">0</PageRequestIndex>
  <RecordsPerPage xmlns="http://schemas.servicestack.net/types">0</RecordsPerPage>
  <Filter>
    <CreatedOrModifiedAfter>0001-01-01T00:00:00</CreatedOrModifiedAfter>
    <CreatedOrModifiedBefore>0001-01-01T00:00:00</CreatedOrModifiedBefore>
    <Name>String</Name>
  </Filter>
  <IncludeCustomers>false</IncludeCustomers>
  <LocationReferId>0</LocationReferId>
  <Name>String</Name>
</LocationRequest>