POST api/{programid}/Consumer/SaveClockInLocation
Sets the consumers last location service type location.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
None. |
Body Parameters
SaveConsumerLastClockInLocationRequestName | Description | Type | Additional information |
---|---|---|---|
ProgramId | integer |
None. |
|
ConsumerId | string |
None. |
|
LocationType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProgramId": 1, "ConsumerId": "sample string 2", "LocationType": 3 }
application/xml, text/xml
Sample:
<SaveConsumerLastClockInLocationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.CommonClasses"> <ConsumerId>sample string 2</ConsumerId> <LocationType>3</LocationType> <ProgramId>1</ProgramId> </SaveConsumerLastClockInLocationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>