POST api/FGBOM
Request Information
URI Parameters
None.
Body Parameters
Z_FGBOMHeaderDetailRequestName | Description | Type | Additional information |
---|---|---|---|
bomHeader | C_FGBOMHeader |
None. |
|
bomDetail | Collection of C_FGBOMDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "bomHeader": { "Id": 1, "FGBOMId": 2, "FGBOMDate": "2025-03-28T14:05:28.3533513+00:00", "ItemCode": "sample string 3", "Qty": 1.0, "CreatedBy": 1, "CreatedOn": "2025-03-28T14:05:28.3533513+00:00", "BranchCode": 1 }, "bomDetail": [ { "Id": 1, "FGBOMId": 2, "LineNo": 3, "ItemCode": "sample string 4", "Qty": 1.0, "CreatedBy": 1, "CreatedOn": "2025-03-28T14:05:28.3533513+00:00", "BranchCode": 1 }, { "Id": 1, "FGBOMId": 2, "LineNo": 3, "ItemCode": "sample string 4", "Qty": 1.0, "CreatedBy": 1, "CreatedOn": "2025-03-28T14:05:28.3533513+00:00", "BranchCode": 1 } ] }
application/xml, text/xml
Sample:
<Z_FGBOMHeaderDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <bomDetail> <C_FGBOMDetail> <BranchCode>1</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T14:05:28.3533513+00:00</CreatedOn> <FGBOMId>2</FGBOMId> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <LineNo>3</LineNo> <Qty>1</Qty> </C_FGBOMDetail> <C_FGBOMDetail> <BranchCode>1</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T14:05:28.3533513+00:00</CreatedOn> <FGBOMId>2</FGBOMId> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <LineNo>3</LineNo> <Qty>1</Qty> </C_FGBOMDetail> </bomDetail> <bomHeader> <BranchCode>1</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T14:05:28.3533513+00:00</CreatedOn> <FGBOMDate>2025-03-28T14:05:28.3533513+00:00</FGBOMDate> <FGBOMId>2</FGBOMId> <Id>1</Id> <ItemCode>sample string 3</ItemCode> <Qty>1</Qty> </bomHeader> </Z_FGBOMHeaderDetailRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |