POST api/{programid}/Consumer/SaveClockInLocation
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| programid | string |
Required |
Body Parameters
SaveConsumerLastClockInLocationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProgramId | integer |
None. |
|
| ConsumerId | string |
None. |
|
| LocationType | integer |
None. |
|
| DateOnLocation | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProgramId": 1,
"ConsumerId": "sample string 2",
"LocationType": 3,
"DateOnLocation": "2025-10-24T18:40:27.0696859-04:00"
}
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> <DateOnLocation>2025-10-24T18:40:27.0696859-04:00</DateOnLocation> <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>