All Verbs | /post_pm_workordertemplate2 |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
token | query | string | Yes | |
tokensecret | query | string | Yes | |
query | string | Yes | ||
idworkordertemplate1 | query | string | No | |
idmaintenance_schedule1 | query | string | No | |
idmaintenance_schedule2 | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
result | form | int | No | |
message | form | string | No | |
idmaintenance_schedule2 | form | string | No | |
finishyn | form | string | No | |
list | form | List<schedule2_checklist> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
idnumber | form | string | No | |
item | form | string | No | |
description | form | string | No | |
check_status | form | string | No | |
comment | form | schedule2_checklistComment | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
idnumber | form | string | No | |
notes | form | string | No | |
photos | form | List<schedule2_checklistCommentPhoto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
idnumber | form | string | No | |
xtag | form | string | No | |
xphoto | form | string | No | |
xthumbnail | form | string | No | |
sort | form | string | No | |
deleteyn | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/post_pm_workordertemplate2 HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: text/csv
Content-Length: length
{"token":"String","tokensecret":"String","email":"String","idworkordertemplate1":"String","idmaintenance_schedule1":"String","idmaintenance_schedule2":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"result":0,"message":"String","idmaintenance_schedule2":"String","finishyn":"String","list":[{"idnumber":"String","item":"String","description":"String","check_status":"String","comment":{"idnumber":"String","notes":"String","photos":[{"idnumber":"String","xtag":"String","xphoto":"String","xthumbnail":"String","sort":"String","deleteyn":"String"}]}}]}