fkm

<back to all web services

StoreObjectHardwarePush

Requires Authentication
The following routes are available for this service:
POST/StoreObjectHardwarePush
StoreObjectHardwarePush Parameters:
NameParameterData TypeRequiredDescription
ObjectHardwareListbodyList<PushStoreObjectHardware>No
ClearBeforebodyboolNo
PushStoreObjectHardware Parameters:
NameParameterData TypeRequiredDescription
UidformstringYes
ObjectUidformstringYes
NumberformstringNo
CustomersHardwareNameformstringYes
CustomersHardwareTypeformstringYes
NameformstringYes
HardwareStatusformstringNo
ReleaseDateformstringNo
ExploitationStartDateformstringYes
SerialNumberformstringNo
CustomersInventoryNumberformstringNo
CommentformstringNo
WarrantyUpToformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
Content-Type: text/csv
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: text/csv
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"}}}