PUT TimeSaver/PutSites
Request Information
URI Parameters
None.
Body Parameters
Collection of Site| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| RegionID | globally unique identifier |
None. |
|
| ManagerID | globally unique identifier |
None. |
|
| OwnerID | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| Description | string |
None. |
|
| Code | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| IsActive | boolean |
Required |
|
| Address | string |
None. |
|
| TypeID | globally unique identifier |
None. |
|
| SiteFinCode | string |
None. |
|
| SecurityGroupID | globally unique identifier |
Required |
|
| IsOvertime | boolean |
Required |
|
| IsSickLeave | boolean |
Required |
|
| IsPublicHolidayOT15 | boolean |
Required |
|
| IsPublicHolidayOT2 | boolean |
Required |
|
| ShortSiteName | string |
None. |
|
| IsBCSickLeave | boolean |
Required |
|
| CompanyCode | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"id": "a4226e02-b3d2-4c3f-97d9-08064b26fae3",
"regionID": "5c5b275e-76ce-4d4a-ac96-23843ccdcc1b",
"managerID": "769a5186-5882-4265-a738-f0597fea7b8b",
"ownerID": "5b9aa373-b8b2-4853-8db6-4262b98e1bbc",
"name": "sample string 2",
"description": "sample string 3",
"code": "sample string 4",
"latitude": 1.1,
"longitude": 1.1,
"isActive": true,
"address": "sample string 6",
"typeID": "2c7666a2-5df9-4c21-a722-b79a58c5d562",
"siteFinCode": "sample string 7",
"securityGroupID": "d7c3e074-0e7f-4f51-91d3-6e3e2dc5b820",
"isOvertime": true,
"isSickLeave": true,
"isPublicHolidayOT15": true,
"isPublicHolidayOT2": true,
"shortSiteName": "sample string 13",
"isBCSickLeave": true,
"companyCode": "sample string 15"
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| Code | string |
None. |
|
| Response | ServiceItem |
None. |
|
| LatestDataTimestampUtc | date |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.