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 |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"ID": "a406cd2c-66aa-4a55-86aa-331aad84c118",
"RegionID": "d6609672-73f8-4669-b7d1-1e8aa209174a",
"ManagerID": "3acb4643-25e2-48f1-80cd-329b645cd352",
"OwnerID": "d1e7a601-fa92-4ec0-8690-025779b14fb7",
"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": "ceb7caf7-518b-49c3-902d-cb86674ccf94",
"SiteFinCode": "sample string 7",
"SecurityGroupID": "4a27ef6b-5a0b-4ae0-b8f0-cb370d42c19d",
"IsOvertime": true,
"IsSickLeave": true,
"IsPublicHolidayOT15": true,
"IsPublicHolidayOT2": true
},
{
"$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. |
|
| StackTrace | string |
None. |
|
| Response | ServiceItem |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.