POST api/BOMEntry/UpdateStatus

Request Information

URI Parameters

None.

Body Parameters

Collection of C_P_BOMHeader
NameDescriptionTypeAdditional information
Id

integer

None.

BOMId

string

None.

BOMDescription

string

None.

BOMDate

date

None.

ItemCode

string

None.

ItemFlag

string

None.

UnitId

integer

None.

Qty

decimal number

None.

ActiveFlag

string

None.

WarehouseId

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

BranchCode

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "BOMId": "sample string 2",
    "BOMDescription": "sample string 3",
    "BOMDate": "2024-04-28T12:30:27.7725046+00:00",
    "ItemCode": "sample string 4",
    "ItemFlag": "sample string 5",
    "UnitId": 1,
    "Qty": 1.0,
    "ActiveFlag": "sample string 6",
    "WarehouseId": 1,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T12:30:27.7725046+00:00",
    "BranchCode": 1
  },
  {
    "Id": 1,
    "BOMId": "sample string 2",
    "BOMDescription": "sample string 3",
    "BOMDate": "2024-04-28T12:30:27.7725046+00:00",
    "ItemCode": "sample string 4",
    "ItemFlag": "sample string 5",
    "UnitId": 1,
    "Qty": 1.0,
    "ActiveFlag": "sample string 6",
    "WarehouseId": 1,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T12:30:27.7725046+00:00",
    "BranchCode": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_P_BOMHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_P_BOMHeader>
    <ActiveFlag>sample string 6</ActiveFlag>
    <BOMDate>2024-04-28T12:30:27.7725046+00:00</BOMDate>
    <BOMDescription>sample string 3</BOMDescription>
    <BOMId>sample string 2</BOMId>
    <BranchCode>1</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T12:30:27.7725046+00:00</CreatedOn>
    <Id>1</Id>
    <ItemCode>sample string 4</ItemCode>
    <ItemFlag>sample string 5</ItemFlag>
    <Qty>1</Qty>
    <UnitId>1</UnitId>
    <WarehouseId>1</WarehouseId>
  </C_P_BOMHeader>
  <C_P_BOMHeader>
    <ActiveFlag>sample string 6</ActiveFlag>
    <BOMDate>2024-04-28T12:30:27.7725046+00:00</BOMDate>
    <BOMDescription>sample string 3</BOMDescription>
    <BOMId>sample string 2</BOMId>
    <BranchCode>1</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T12:30:27.7725046+00:00</CreatedOn>
    <Id>1</Id>
    <ItemCode>sample string 4</ItemCode>
    <ItemFlag>sample string 5</ItemFlag>
    <Qty>1</Qty>
    <UnitId>1</UnitId>
    <WarehouseId>1</WarehouseId>
  </C_P_BOMHeader>
</ArrayOfC_P_BOMHeader>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'C_P_BOMHeader[]'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.