Insert Parcel History
You can use this API to insert a history record for a given parcel. You need to log a history record when uploading a document to a parcel. Please check the following link for more information.
https://docs.itraceit.io/en/API/Parcel#upload-documents-to-your-parcel
| URL | /parcel/v1/insert_parcel_history |
| Method | POST |
| Parameters |
idparceltask, integer avgweight, real parcelweight, real numberofstones, integer parcelref, string parcelid, string mediaid, string geolocation_X, number geolocation_Y, number geolocation_Z, number taskdescription, string workingdepartment, string workingunit, string personname, string workingpersonname, string machinename, string |
| Sample Request JSON |
{ "idparceltask":1, "avgweight":"", "parcelweight":"", "numberofstones":10, "parcelref":"Test", "parcelid":"pf16bcf42-e7be-48b9-981b-bd53086967b1", "mediaid":"", "geolocation_X":"", "geolocation_Y":"", "geolocation_Z":"", "taskdescription":"", "workingdepartment":"", "workingunit":"", "personname":"", "workingpersonname":"", "machinename":"", } |
| Sample Response JSON |
{ "status": "ok", "isvalid": true } |
| Response Codes | 200: ok |