All Verbs | /post_pm_maintenanceassets |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
token | query | string | Yes | |
tokensecret | query | string | Yes | |
query | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
result | form | int | No | |
message | form | string | No | |
list | form | List<Maintenance> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
idnumber | form | string | No | |
idcia | form | string | No | |
idproject | form | string | No | |
asset | form | string | No | |
fixedasset | form | string | No | |
description | form | string | No | |
brand | form | string | No | |
serialno | form | string | No | |
vendor | form | string | No | |
invoiceno | form | string | No | |
assignto | form | string | No | |
purchasedate | form | string | No | |
inactiveyn | form | string | No | |
projectname | form | string | No | |
idworkordertemplate1 | form | string | No | |
workordertemplate1name | 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_maintenanceassets HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: text/csv
Content-Length: length
{"token":"String","tokensecret":"String","email":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"result":0,"message":"String","list":[{"idnumber":"String","idcia":"String","idproject":"String","asset":"String","fixedasset":"String","description":"String","brand":"String","serialno":"String","vendor":"String","invoiceno":"String","assignto":"String","purchasedate":"String","inactiveyn":"String","projectname":"String","idworkordertemplate1":"String","workordertemplate1name":"String"}]}