API ReferenceIncoming stock transfers
Comment on an incoming stock transfer
Comment on an existing incoming stock transfer by its id
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/incoming-stock-transfers/string/comment" \ -H "Content-Type: application/json" \ -d 'string'{
"acceptedProducts": [
{
"productId": "string",
"quantity": 0.1
}
],
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"destinationSiteId": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"products": [
{
"accepted": 0.1,
"canReceive": true,
"currency": "string",
"imageAssets": [
{
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
}
],
"pending": 0.1,
"percentageAccepted": 0.1,
"percentagePending": 0.1,
"percentageRejected": 0.1,
"price": 0.1,
"productId": "string",
"productName": "string",
"quantity": 0.1,
"rejected": 0.1,
"sourceLocationId": "string",
"totalPrice": 0.1,
"unitsOfMeasurement": [
{
"baseUnit": true,
"cost": 0.1,
"decimal": true,
"isBaseUnit": true,
"isDecimal": true,
"name": "string",
"quantity": 0.1,
"salesPrice": 0.1,
"unit": "string"
}
]
}
],
"rejectedProducts": [
{
"batches": [
{
"quantity": 0.1,
"reason": "string"
}
],
"productId": "string",
"quantity": 0.1
}
],
"sourceSiteId": "string",
"sourceSubsidiaryId": "string",
"status": "EXPECTED",
"stockTransferId": "string",
"transferNumber": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}