POST | /StoreObjectHardwarePush |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ObjectHardwareList | body | List<PushStoreObjectHardware> | No | |
ClearBefore | body | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Uid | form | string | Yes | |
ObjectUid | form | string | Yes | |
Number | form | string | No | |
CustomersHardwareName | form | string | Yes | |
CustomersHardwareType | form | string | Yes | |
Name | form | string | Yes | |
HardwareStatus | form | string | No | |
ReleaseDate | form | string | No | |
ExploitationStartDate | form | string | Yes | |
SerialNumber | form | string | No | |
CustomersInventoryNumber | form | string | No | |
Comment | form | string | No | |
WarrantyUpTo | 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 /StoreObjectHardwarePush HTTP/1.1
Host: s10.tdfkm.ru
Accept: application/json
Content-Type: application/json
Content-Length: length
{"objectHardwareList":[{"uid":"String","objectUid":"String","number":"String","customersHardwareName":"String","customersHardwareType":"String","name":"String","hardwareStatus":"String","releaseDate":"String","exploitationStartDate":"String","serialNumber":"String","customersInventoryNumber":"String","comment":"String","warrantyUpTo":"String"}],"clearBefore":false}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"processedCount":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}