POST papi/v1/integration/hours/LocationBased
Security
Secured API
Request Information
URI Parameters
None.
Required Headers
Name | Description | Sample | Type | Default |
---|---|---|---|---|
Authorization |
Represents the value of the authentication token. Allow multiple values: no. |
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ... | string | None |
ConsumerId |
Represents the value of the consumer id. Allow multiple values: no. |
2426 | integer | None |
Optional Headers
Name | Description | Sample | Type | Default |
---|---|---|---|---|
ApplicationType |
Represents the value of the consumer's application type. Allow multiple values: no. |
1 | ApplicationType | None |
Accept-Language |
Represents the value of the desired language for translations. Allow multiple values: yes. |
es | string | en |
Body Parameters
LocationBasedHoursRequestName | Description | Type | Additional information |
---|---|---|---|
LocationBased | HoursBatch |
None. |
Request Formats
application/json, text/json
Sample:
{ "LocationBased": { "Hours": [ { "Location": "sample string 1", "Year": "sample string 2", "Month": "sample string 3", "SalariedEmployeeHours": "sample string 4", "HourlyEmployeeHours": "sample string 5", "SupervisedContractorHours": "sample string 6", "SalariedEmployeeCount": "sample string 7", "HourlyEmployeeCount": "sample string 8", "SupervisedContractorCount": "sample string 9", "isRollUp": "sample string 10", "IsOverwriteSysUser": "sample string 11", "RecordUid": "c712598c-c057-4498-ae17-d6965d691fa3" }, { "Location": "sample string 1", "Year": "sample string 2", "Month": "sample string 3", "SalariedEmployeeHours": "sample string 4", "HourlyEmployeeHours": "sample string 5", "SupervisedContractorHours": "sample string 6", "SalariedEmployeeCount": "sample string 7", "HourlyEmployeeCount": "sample string 8", "SupervisedContractorCount": "sample string 9", "isRollUp": "sample string 10", "IsOverwriteSysUser": "sample string 11", "RecordUid": "c712598c-c057-4498-ae17-d6965d691fa3" } ], "BatchGUID": "a826e424-6615-495f-b945-d9d7a039d4f7", "TenantId": "sample string 2", "BatchName": "sample string 3" } }
application/xml, text/xml
Sample:
<LocationBasedHoursRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <LocationBased> <Hours> <LocationBasedHoursItem> <Location>sample string 1</Location> <Year>sample string 2</Year> <Month>sample string 3</Month> <SalariedEmployeeHours>sample string 4</SalariedEmployeeHours> <HourlyEmployeeHours>sample string 5</HourlyEmployeeHours> <SupervisedContractorHours>sample string 6</SupervisedContractorHours> <SalariedEmployeeCount>sample string 7</SalariedEmployeeCount> <HourlyEmployeeCount>sample string 8</HourlyEmployeeCount> <SupervisedContractorCount>sample string 9</SupervisedContractorCount> <isRollUp>sample string 10</isRollUp> <IsOverwriteSysUser>sample string 11</IsOverwriteSysUser> <RecordUid>c712598c-c057-4498-ae17-d6965d691fa3</RecordUid> </LocationBasedHoursItem> <LocationBasedHoursItem> <Location>sample string 1</Location> <Year>sample string 2</Year> <Month>sample string 3</Month> <SalariedEmployeeHours>sample string 4</SalariedEmployeeHours> <HourlyEmployeeHours>sample string 5</HourlyEmployeeHours> <SupervisedContractorHours>sample string 6</SupervisedContractorHours> <SalariedEmployeeCount>sample string 7</SalariedEmployeeCount> <HourlyEmployeeCount>sample string 8</HourlyEmployeeCount> <SupervisedContractorCount>sample string 9</SupervisedContractorCount> <isRollUp>sample string 10</isRollUp> <IsOverwriteSysUser>sample string 11</IsOverwriteSysUser> <RecordUid>c712598c-c057-4498-ae17-d6965d691fa3</RecordUid> </LocationBasedHoursItem> </Hours> <BatchGUID>a826e424-6615-495f-b945-d9d7a039d4f7</BatchGUID> <TenantId>sample string 2</TenantId> <BatchName>sample string 3</BatchName> </LocationBased> </LocationBasedHoursRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HoursBatchResponseName | Description | Type | Additional information |
---|---|---|---|
BatchGUID | globally unique identifier |
None. |
|
IsSuccessful | boolean |
None. |
|
ExceptionMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "BatchGUID": "6abc3055-7161-433b-af77-9a7ef5cc10bb", "IsSuccessful": true, "ExceptionMessage": "sample string 3" }
application/xml, text/xml
Sample:
<HoursBatchResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BatchGUID>6abc3055-7161-433b-af77-9a7ef5cc10bb</BatchGUID> <IsSuccessful>true</IsSuccessful> <ExceptionMessage>sample string 3</ExceptionMessage> </HoursBatchResponse>