PUT TimeSaver/PutSite
Request Information
URI Parameters
None.
Body Parameters
SiteName | 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": "eceb1880-8726-4423-b673-3e448f5b1a39", "RegionID": "c5aa5802-a729-466b-96f9-6938829421bb", "ManagerID": "07cdb8a6-2f29-4c85-a024-83c98316c4b6", "OwnerID": "3a4629ea-fc47-4871-9531-be7bf378c541", "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": "d5f6ebe9-b2fc-47c9-ae60-87bfb53b15be", "SiteFinCode": "sample string 7", "SecurityGroupID": "46300853-2814-4ed9-a8a2-1d2e2fd27aea", "IsOvertime": true, "IsSickLeave": true, "IsPublicHolidayOT15": true, "IsPublicHolidayOT2": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseName | 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.