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 |
|
| ShortSiteName | string |
None. |
|
| IsBCSickLeave | boolean |
Required |
|
| CompanyCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "ebb4adb7-a9d0-45f3-a060-81fb7d8a020f",
"regionID": "7c84f5f2-16b9-4f77-b8b1-dc13a36baaaa",
"managerID": "cbc5b641-75a9-4c38-a454-1725552ba7a3",
"ownerID": "a1bf9f14-469b-47c6-b4d3-acfaa68cef99",
"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": "7d0f5481-c375-4d80-94ba-e0c47be91392",
"siteFinCode": "sample string 7",
"securityGroupID": "ac0ae282-2d6b-4583-addc-237450c62763",
"isOvertime": true,
"isSickLeave": true,
"isPublicHolidayOT15": true,
"isPublicHolidayOT2": true,
"shortSiteName": "sample string 13",
"isBCSickLeave": true,
"companyCode": "sample string 15"
}
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.