POST api/Reporting/ValidateAbsence

Request Information

URI Parameters

None.

Body Parameters

aPresenceData
NameDescriptionTypeAdditional information
id_agreement_day

integer

None.

longitude

decimal number

None.

latitude

decimal number

None.

timestamp

date

None.

cpt_check

integer

None.

presence

boolean

None.

codeAbsenceReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id_agreement_day": 1,
  "longitude": 1.1,
  "latitude": 1.1,
  "timestamp": "2025-12-26T05:06:17.684842+01:00",
  "cpt_check": 1,
  "presence": true,
  "codeAbsenceReason": "sample string 4"
}

application/xml, text/xml

Sample:
<aPresenceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSReportix.Models">
  <codeAbsenceReason>sample string 4</codeAbsenceReason>
  <cpt_check>1</cpt_check>
  <id_agreement_day>1</id_agreement_day>
  <latitude>1.1</latitude>
  <longitude>1.1</longitude>
  <presence>true</presence>
  <timestamp>2025-12-26T05:06:17.684842+01:00</timestamp>
</aPresenceData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PresenceReturn
NameDescriptionTypeAdditional information
id_agreement_day

integer

None.

returnCode

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id_agreement_day": 1,
  "returnCode": "sample string 2",
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<PresenceReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSReportix.Models">
  <id_agreement_day>1</id_agreement_day>
  <message>sample string 3</message>
  <returnCode>sample string 2</returnCode>
</PresenceReturn>