The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/oneway/UpdateInspectionsRequest HTTP/1.1
Host: 185.179.20.77
Content-Type: text/jsv
Content-Length: length
{
ReferUid: 00000000000000000000000000000000,
Barcode: String,
StockItemStatusCode: String,
XML: String,
Modified: 0001-01-01,
InspectionResultsHeader:
{
CreatedDateTime: 0001-01-01,
ExportDateTime: 0001-01-01,
InspectionResultsHeaderUid: 00000000000000000000000000000000,
StockItemReferUid: 00000000000000000000000000000000,
StatusCode: String,
AM_InspectionResults:
[
{
Quantity1: 0,
Quantity2: 0,
Quantity3: 0,
Quantity4: 0,
Quantity5: 0,
Quantity6: 0,
Note: String,
CustomField:
{
Udf1Name: String,
Udf1Value: String,
Udf1Type: String,
Udf2Name: String,
Udf2Value: String,
Udf2Type: String,
Udf3Name: String,
Udf3Value: String,
Udf3Type: String,
Udf4Name: String,
Udf4Value: String,
Udf4Type: String,
Udf5Name: String,
Udf5Value: String,
Udf5Type: String,
Udf6Name: String,
Udf6Value: String,
Udf6Type: String,
Udf7Name: String,
Udf7Value: String,
Udf7Type: String,
Udf8Name: String,
Udf8Value: String,
Udf8Type: String,
Udf9Name: String,
Udf9Value: String,
Udf9Type: String,
Udf10Name: String,
Udf10Value: String,
Udf10Type: String
},
InspectionResultsUid: 00000000000000000000000000000000,
InspectionTaskId: 0,
CollectedResources:
[
{
ReferId: 0,
Name: String,
Description: String,
Created: 0001-01-01,
Modified: 0001-01-01,
ResourceType: ImageJpeg,
Data: AA==,
CustomFields: 0,
PrintedName: String,
ExternalFileName: String
}
],
InspectionTaskReferUid: 00000000000000000000000000000000,
Quantity7: 0,
Quantity8: 0,
Quantity9: 0,
Quantity10: 0,
Quantity11: 0,
Quantity12: 0
}
],
AM_InspectionCategoryResults:
[
{
InspectionCategoryId: 0,
InspectionCategoryStatusCode: String,
InspectionCategoryReferUid: 00000000000000000000000000000000
}
],
AM_InspectionTaskCostResultsList:
[
{
TaskReferUid: 00000000000000000000000000000000,
Results:
[
{
Quantity: 0,
TaskCostTypeCode: String,
TaskReferUid: 00000000000000000000000000000000
}
]
}
],
CollectedResources:
[
{
ReferId: 0,
Name: String,
Description: String,
Created: 0001-01-01,
Modified: 0001-01-01,
ResourceType: ImageJpeg,
Data: AA==,
CustomFields: 0,
PrintedName: String,
ExternalFileName: String
}
]
},
SessionUid: 00000000000000000000000000000000,
DeviceSerialNumber: String,
GeneratedAt: 0001-01-01
}