POST api/{programid}/Consumer/SaveClockInLocation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

SaveConsumerLastClockInLocationRequest
NameDescriptionTypeAdditional 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-02T17:38:17.4365132-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-02T17:38:17.4365132-04:00</DateOnLocation>
  <LocationType>3</LocationType>
  <ProgramId>1</ProgramId>
</SaveConsumerLastClockInLocationRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveConsumerLastClockInLocationRequest'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>