DELETE TimeSaver/DeleteSites
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": "3de79e15-dc5d-4e02-825c-85bc6c83a42f",
"RegionID": "07c77403-e26c-4756-8749-df48e6cff9c8",
"ManagerID": "fe17d5d3-8841-407b-b334-2f77141421ca",
"OwnerID": "f5e76350-6f1b-4f28-bb8b-52665da58b65",
"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": "571371ad-2d83-40ee-bd2b-0f71699ed5df",
"SiteFinCode": "sample string 7",
"SecurityGroupID": "a5730171-2d9f-456e-b934-60874c503813",
"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.