POST api/StockAdjustment?changeStockBlockType={changeStockBlockType}
Adjust BlockType of defined stock in message
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| changeStockBlockType |
Indicator for StockBlockType change |
boolean |
Required |
Body Parameters
Message with stock items to change
ChangeStockBlockTypeMessageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | MessageHeader |
None. |
|
| Stock | Collection of StockChangeBlockTypeItem |
None. |
|
| Footer | MessageFooter |
None. |
Request Formats
application/json, text/json
Sample:
{
"Header": {
"Version": "string 1",
"Identification": "string 2",
"Sender": "string 3"
},
"Stock": [
{
"CompanyIdentifier": "string 1",
"ProductIdentifier": "string 2",
"WarehouseIdentifier": "string 3",
"StockLocationIdentifier": "string 4",
"URNIdentifier": "string 5",
"URNTypeIdentifier": "string 6",
"Quantity": 7,
"Lot": {
"CompanyIdentifier": "string 1",
"BatchNumber": "string 2",
"LotNumber": "string 3",
"MinimalExpirationDate": "2025-12-06T03:59:22.7792138+01:00",
"MinimalExpirationDateSpecified": true,
"MaximalExpirationDate": "2025-12-06T03:59:22.7792138+01:00",
"MaximalExpirationDateSpecified": true,
"LotDate": "2025-12-06T03:59:22.7792138+01:00",
"LotDateSpecified": true
},
"FromBlockedReason": "None",
"FromBlockedReasonSpecified": true,
"ToBlockedReason": "None",
"ToBlockedReasonSpecified": true,
"Remark": "string 10"
},
{
"CompanyIdentifier": "string 1",
"ProductIdentifier": "string 2",
"WarehouseIdentifier": "string 3",
"StockLocationIdentifier": "string 4",
"URNIdentifier": "string 5",
"URNTypeIdentifier": "string 6",
"Quantity": 7,
"Lot": {
"CompanyIdentifier": "string 1",
"BatchNumber": "string 2",
"LotNumber": "string 3",
"MinimalExpirationDate": "2025-12-06T03:59:22.7792138+01:00",
"MinimalExpirationDateSpecified": true,
"MaximalExpirationDate": "2025-12-06T03:59:22.7792138+01:00",
"MaximalExpirationDateSpecified": true,
"LotDate": "2025-12-06T03:59:22.7792138+01:00",
"LotDateSpecified": true
},
"FromBlockedReason": "None",
"FromBlockedReasonSpecified": true,
"ToBlockedReason": "None",
"ToBlockedReasonSpecified": true,
"Remark": "string 10"
}
],
"Footer": {
"TotalRecords": 1,
"Records": 2
}
}
application/xml, text/xml
Sample:
<ChangeStockBlockTypeMessageRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header>
<Version>string 1</Version>
<Identification>string 2</Identification>
<Sender>string 3</Sender>
</Header>
<Stock>
<StockChangeBlockTypeItem>
<CompanyIdentifier>string 1</CompanyIdentifier>
<ProductIdentifier>string 2</ProductIdentifier>
<WarehouseIdentifier>string 3</WarehouseIdentifier>
<StockLocationIdentifier>string 4</StockLocationIdentifier>
<URNIdentifier>string 5</URNIdentifier>
<URNTypeIdentifier>string 6</URNTypeIdentifier>
<Quantity>7</Quantity>
<Lot>
<CompanyIdentifier>string 1</CompanyIdentifier>
<BatchNumber>string 2</BatchNumber>
<LotNumber>string 3</LotNumber>
<MinimalExpirationDate>2025-12-06T03:59:22.7792138+01:00</MinimalExpirationDate>
<MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
<MaximalExpirationDate>2025-12-06T03:59:22.7792138+01:00</MaximalExpirationDate>
<MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
<LotDate>2025-12-06T03:59:22.7792138+01:00</LotDate>
<LotDateSpecified>true</LotDateSpecified>
</Lot>
<FromBlockedReason>None</FromBlockedReason>
<FromBlockedReasonSpecified>true</FromBlockedReasonSpecified>
<ToBlockedReason>None</ToBlockedReason>
<ToBlockedReasonSpecified>true</ToBlockedReasonSpecified>
<Remark>string 10</Remark>
</StockChangeBlockTypeItem>
<StockChangeBlockTypeItem>
<CompanyIdentifier>string 1</CompanyIdentifier>
<ProductIdentifier>string 2</ProductIdentifier>
<WarehouseIdentifier>string 3</WarehouseIdentifier>
<StockLocationIdentifier>string 4</StockLocationIdentifier>
<URNIdentifier>string 5</URNIdentifier>
<URNTypeIdentifier>string 6</URNTypeIdentifier>
<Quantity>7</Quantity>
<Lot>
<CompanyIdentifier>string 1</CompanyIdentifier>
<BatchNumber>string 2</BatchNumber>
<LotNumber>string 3</LotNumber>
<MinimalExpirationDate>2025-12-06T03:59:22.7792138+01:00</MinimalExpirationDate>
<MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
<MaximalExpirationDate>2025-12-06T03:59:22.7792138+01:00</MaximalExpirationDate>
<MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
<LotDate>2025-12-06T03:59:22.7792138+01:00</LotDate>
<LotDateSpecified>true</LotDateSpecified>
</Lot>
<FromBlockedReason>None</FromBlockedReason>
<FromBlockedReasonSpecified>true</FromBlockedReasonSpecified>
<ToBlockedReason>None</ToBlockedReason>
<ToBlockedReasonSpecified>true</ToBlockedReasonSpecified>
<Remark>string 10</Remark>
</StockChangeBlockTypeItem>
</Stock>
<Footer>
<TotalRecords>1</TotalRecords>
<Records>2</Records>
</Footer>
</ChangeStockBlockTypeMessageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Ok: Message with result. Invalid APIKey: HttpStatusCode.Conflict
ChangeStockBlockTypeMessageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | MessageHeader |
None. |
|
| Stock | Collection of StockChangeBlockTypeResult |
None. |
|
| Footer | MessageFooter |
None. |
Response Formats
application/json, text/json
Sample:
{
"Header": {
"Version": "string 1",
"Identification": "string 2",
"Sender": "string 3"
},
"Stock": [
{
"ProcessingStatus": "P",
"StockImportResult": "string 1",
"CompanyIdentifier": "string 2",
"ProductIdentifier": "string 3",
"WarehouseIdentifier": "string 4",
"StockLocationIdentifier": "string 5",
"URNIdentifier": "string 6",
"URNTypeIdentifier": "string 7",
"Quantity": 8,
"Lot": {
"CompanyIdentifier": "string 1",
"BatchNumber": "string 2",
"LotNumber": "string 3",
"MinimalExpirationDate": "2025-12-06T03:59:22.8104148+01:00",
"MinimalExpirationDateSpecified": true,
"MaximalExpirationDate": "2025-12-06T03:59:22.8104148+01:00",
"MaximalExpirationDateSpecified": true,
"LotDate": "2025-12-06T03:59:22.8104148+01:00",
"LotDateSpecified": true
},
"FromBlockedReason": "None",
"FromBlockedReasonSpecified": true,
"ToBlockedReason": "None",
"ToBlockedReasonSpecified": true,
"Remark": "string 11"
},
{
"ProcessingStatus": "P",
"StockImportResult": "string 1",
"CompanyIdentifier": "string 2",
"ProductIdentifier": "string 3",
"WarehouseIdentifier": "string 4",
"StockLocationIdentifier": "string 5",
"URNIdentifier": "string 6",
"URNTypeIdentifier": "string 7",
"Quantity": 8,
"Lot": {
"CompanyIdentifier": "string 1",
"BatchNumber": "string 2",
"LotNumber": "string 3",
"MinimalExpirationDate": "2025-12-06T03:59:22.8104148+01:00",
"MinimalExpirationDateSpecified": true,
"MaximalExpirationDate": "2025-12-06T03:59:22.8104148+01:00",
"MaximalExpirationDateSpecified": true,
"LotDate": "2025-12-06T03:59:22.8104148+01:00",
"LotDateSpecified": true
},
"FromBlockedReason": "None",
"FromBlockedReasonSpecified": true,
"ToBlockedReason": "None",
"ToBlockedReasonSpecified": true,
"Remark": "string 11"
}
],
"Footer": {
"TotalRecords": 1,
"Records": 2
}
}
application/xml, text/xml
Sample:
<ChangeStockBlockTypeMessageResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header>
<Version>string 1</Version>
<Identification>string 2</Identification>
<Sender>string 3</Sender>
</Header>
<Stock>
<StockChangeBlockTypeResult>
<CompanyIdentifier>string 2</CompanyIdentifier>
<ProductIdentifier>string 3</ProductIdentifier>
<WarehouseIdentifier>string 4</WarehouseIdentifier>
<StockLocationIdentifier>string 5</StockLocationIdentifier>
<URNIdentifier>string 6</URNIdentifier>
<URNTypeIdentifier>string 7</URNTypeIdentifier>
<Quantity>8</Quantity>
<Lot>
<CompanyIdentifier>string 1</CompanyIdentifier>
<BatchNumber>string 2</BatchNumber>
<LotNumber>string 3</LotNumber>
<MinimalExpirationDate>2025-12-06T03:59:22.8104148+01:00</MinimalExpirationDate>
<MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
<MaximalExpirationDate>2025-12-06T03:59:22.8104148+01:00</MaximalExpirationDate>
<MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
<LotDate>2025-12-06T03:59:22.8104148+01:00</LotDate>
<LotDateSpecified>true</LotDateSpecified>
</Lot>
<FromBlockedReason>None</FromBlockedReason>
<FromBlockedReasonSpecified>true</FromBlockedReasonSpecified>
<ToBlockedReason>None</ToBlockedReason>
<ToBlockedReasonSpecified>true</ToBlockedReasonSpecified>
<Remark>string 11</Remark>
<ProcessingStatus>P</ProcessingStatus>
<StockImportResult>string 1</StockImportResult>
</StockChangeBlockTypeResult>
<StockChangeBlockTypeResult>
<CompanyIdentifier>string 2</CompanyIdentifier>
<ProductIdentifier>string 3</ProductIdentifier>
<WarehouseIdentifier>string 4</WarehouseIdentifier>
<StockLocationIdentifier>string 5</StockLocationIdentifier>
<URNIdentifier>string 6</URNIdentifier>
<URNTypeIdentifier>string 7</URNTypeIdentifier>
<Quantity>8</Quantity>
<Lot>
<CompanyIdentifier>string 1</CompanyIdentifier>
<BatchNumber>string 2</BatchNumber>
<LotNumber>string 3</LotNumber>
<MinimalExpirationDate>2025-12-06T03:59:22.8104148+01:00</MinimalExpirationDate>
<MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
<MaximalExpirationDate>2025-12-06T03:59:22.8104148+01:00</MaximalExpirationDate>
<MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
<LotDate>2025-12-06T03:59:22.8104148+01:00</LotDate>
<LotDateSpecified>true</LotDateSpecified>
</Lot>
<FromBlockedReason>None</FromBlockedReason>
<FromBlockedReasonSpecified>true</FromBlockedReasonSpecified>
<ToBlockedReason>None</ToBlockedReason>
<ToBlockedReasonSpecified>true</ToBlockedReasonSpecified>
<Remark>string 11</Remark>
<ProcessingStatus>P</ProcessingStatus>
<StockImportResult>string 1</StockImportResult>
</StockChangeBlockTypeResult>
</Stock>
<Footer>
<TotalRecords>1</TotalRecords>
<Records>2</Records>
</Footer>
</ChangeStockBlockTypeMessageResponse>