PUT TimeSaver/PutSites
Request Information
URI Parameters
None.
Body Parameters
Collection of 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": "1", "ID": "40d9f619-40b0-470a-9510-c0ec04c75d20", "RegionID": "7327e513-7ae0-4602-9a21-1ea7abb17dd5", "ManagerID": "2c41f3ea-379d-4815-84a6-915974d0c697", "OwnerID": "c820e33f-da0e-42a5-a71a-0cd455de0a5d", "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": "256948d8-e0fd-4fef-abe1-be4afd34b35b", "SiteFinCode": "sample string 7", "SecurityGroupID": "d8411cdf-ffc0-4064-9f0b-7c6cc84891a8", "IsOvertime": true, "IsSickLeave": true, "IsPublicHolidayOT15": true, "IsPublicHolidayOT2": true }, { "$ref": "1" } ]
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.