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": "5415c8ce-ac80-4150-8ebf-7e75659f680d",
"RegionID": "d04fbb1e-95e9-440b-a43b-3470cad5d4e5",
"ManagerID": "ed1f45c4-f59a-418c-a98f-1aef39923059",
"OwnerID": "6cfcfb70-df07-4298-9a30-469364a99e66",
"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": "e8566b77-ba32-4949-a6c9-89853f07e290",
"SiteFinCode": "sample string 7",
"SecurityGroupID": "109bb180-2ab2-436c-844c-73c8e10be9eb",
"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.