All Verbs | /post_maintenance_schedule2_detail |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
token | query | string | Yes | |
tokensecret | query | string | Yes | |
query | string | Yes | ||
idnumber | query | int | No | |
code | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
property | form | string | No | |
address | form | string | No | |
asset | form | string | No | |
assignto | form | string | No | |
name | form | string | No | |
finishdate | form | DateTime | No | |
scheduledate | form | DateTime | No | |
list | form | List<schedule2_checklistInfo> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
result | form | int | No | |
message | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
idnumber | form | int | No | |
check_status | form | int | No | |
item | form | decimal | No | |
description | form | string | No | |
comments | form | List<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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/post_maintenance_schedule2_detail HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: application/json
Content-Length: length
{"token":"String","tokensecret":"String","email":"String","idnumber":0,"code":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"property":"String","address":"String","asset":"String","assignto":"String","name":"String","finishdate":"\/Date(-62135596800000-0000)\/","scheduledate":"\/Date(-62135596800000-0000)\/","list":[{"idnumber":0,"check_status":0,"item":0,"description":"String","comments":[{"idnumber":"String","notes":"String","photos":[{"idnumber":"String","xtag":"String","xphoto":"String","xthumbnail":"String","sort":"String","deleteyn":"String"}]}]}],"result":0,"message":"String"}