PUT TimeSaver/PutSite
Request Information
URI Parameters
None.
Body Parameters
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": "672aac4e-2fb3-4cdf-a146-5a7d61e8d386",
"RegionID": "c0604621-e085-439c-bfc0-1991f1eb5b7e",
"ManagerID": "53fa60c2-796b-4e77-bce3-ede7d95bd4b0",
"OwnerID": "03907bbe-0772-487b-9b4e-40e8985e0d98",
"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": "0c24b05b-3b95-4dfd-90a1-5848fb7373d1",
"SiteFinCode": "sample string 7",
"SecurityGroupID": "d3d8cf4f-5126-45a0-b4eb-31c05e90b692",
"IsOvertime": true,
"IsSickLeave": true,
"IsPublicHolidayOT15": true,
"IsPublicHolidayOT2": true
}
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.