POST api/BOE/Upsert
Request Information
URI Parameters
None.
Body Parameters
BOEHeaderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| lstDetail | Collection of BOEDetailViewModel |
None. |
|
| BOEID | integer |
None. |
|
| CompanyDetailID | integer |
None. |
|
| PurchaseID | integer |
None. |
|
| BOENumber | string |
None. |
|
| BOEDate | date |
None. |
|
| PortCode | string |
None. |
|
| ReferenceDetail | string |
None. |
|
| LoginId | integer |
None. |
|
| PONumber | string |
None. |
|
| Remarks | string |
None. |
|
| POApprovalRemarks | string |
None. |
|
| InvoiceNumber | string |
None. |
|
| InvoiceDate | date |
None. |
|
| LocationName | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| IsEditable | boolean |
None. |
|
| WarehouseName | string |
None. |
|
| PIValue | decimal number |
None. |
|
| CHAAgentID | integer |
None. |
|
| DutyPayableID | integer |
None. |
|
| LedgerID | integer |
None. |
|
| IsTallyPush | boolean |
None. |
|
| ShipmentMode | string |
None. |
|
| DutyMode | string |
None. |
|
| CHAAgentName | string |
None. |
|
| DutyPayableName | string |
None. |
|
| LedgerName | string |
None. |
|
| ApprovalStatus | string |
None. |
|
| POTYPE | string |
None. |
|
| ActualBOENumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"lstDetail": [
{
"BOEDetailsID": 1,
"BOEID": 2,
"CompanyDetailID": 3,
"ItemID": 4,
"HSNCode": "sample string 5",
"DutyType": "sample string 6",
"IsGSTApplicable": true,
"DutyPercentage": 8.0,
"DutyAmount": 9.0,
"IGSTRate": 10.0,
"IGSTValue": 11.0,
"TotalValue": 12.0,
"Qty": 13,
"HSNCodeGST": "sample string 14"
},
{
"BOEDetailsID": 1,
"BOEID": 2,
"CompanyDetailID": 3,
"ItemID": 4,
"HSNCode": "sample string 5",
"DutyType": "sample string 6",
"IsGSTApplicable": true,
"DutyPercentage": 8.0,
"DutyAmount": 9.0,
"IGSTRate": 10.0,
"IGSTValue": 11.0,
"TotalValue": 12.0,
"Qty": 13,
"HSNCodeGST": "sample string 14"
}
],
"BOEID": 1,
"CompanyDetailID": 2,
"PurchaseID": 3,
"BOENumber": "sample string 4",
"BOEDate": "2025-12-16T11:05:13.9196198+00:00",
"PortCode": "sample string 6",
"ReferenceDetail": "sample string 7",
"LoginId": 8,
"PONumber": "sample string 9",
"Remarks": "sample string 10",
"POApprovalRemarks": "sample string 11",
"InvoiceNumber": "sample string 12",
"InvoiceDate": "2025-12-16T11:05:13.9196198+00:00",
"LocationName": "sample string 14",
"TotalAmount": 15.0,
"IsEditable": true,
"WarehouseName": "sample string 17",
"PIValue": 18.0,
"CHAAgentID": 19,
"DutyPayableID": 20,
"LedgerID": 21,
"IsTallyPush": true,
"ShipmentMode": "sample string 23",
"DutyMode": "sample string 24",
"CHAAgentName": "sample string 25",
"DutyPayableName": "sample string 26",
"LedgerName": "sample string 27",
"ApprovalStatus": "sample string 28",
"POTYPE": "sample string 29",
"ActualBOENumber": "sample string 30"
}
application/xml, text/xml
Sample:
<BOEHeaderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.ViewModel">
<ActualBOENumber>sample string 30</ActualBOENumber>
<ApprovalStatus>sample string 28</ApprovalStatus>
<BOEDate>2025-12-16T11:05:13.9196198+00:00</BOEDate>
<BOEID>1</BOEID>
<BOENumber>sample string 4</BOENumber>
<CHAAgentID>19</CHAAgentID>
<CHAAgentName>sample string 25</CHAAgentName>
<CompanyDetailID>2</CompanyDetailID>
<DutyMode>sample string 24</DutyMode>
<DutyPayableID>20</DutyPayableID>
<DutyPayableName>sample string 26</DutyPayableName>
<InvoiceDate>2025-12-16T11:05:13.9196198+00:00</InvoiceDate>
<InvoiceNumber>sample string 12</InvoiceNumber>
<IsEditable>true</IsEditable>
<IsTallyPush>true</IsTallyPush>
<LedgerID>21</LedgerID>
<LedgerName>sample string 27</LedgerName>
<LocationName>sample string 14</LocationName>
<LoginId>8</LoginId>
<PIValue>18</PIValue>
<POApprovalRemarks>sample string 11</POApprovalRemarks>
<PONumber>sample string 9</PONumber>
<POTYPE>sample string 29</POTYPE>
<PortCode>sample string 6</PortCode>
<PurchaseID>3</PurchaseID>
<ReferenceDetail>sample string 7</ReferenceDetail>
<Remarks>sample string 10</Remarks>
<ShipmentMode>sample string 23</ShipmentMode>
<TotalAmount>15</TotalAmount>
<WarehouseName>sample string 17</WarehouseName>
<lstDetail>
<BOEDetailViewModel>
<BOEDetailsID>1</BOEDetailsID>
<BOEID>2</BOEID>
<CompanyDetailID>3</CompanyDetailID>
<DutyAmount>9</DutyAmount>
<DutyPercentage>8</DutyPercentage>
<DutyType>sample string 6</DutyType>
<HSNCode>sample string 5</HSNCode>
<HSNCodeGST>sample string 14</HSNCodeGST>
<IGSTRate>10</IGSTRate>
<IGSTValue>11</IGSTValue>
<IsGSTApplicable>true</IsGSTApplicable>
<ItemID>4</ItemID>
<Qty>13</Qty>
<TotalValue>12</TotalValue>
</BOEDetailViewModel>
<BOEDetailViewModel>
<BOEDetailsID>1</BOEDetailsID>
<BOEID>2</BOEID>
<CompanyDetailID>3</CompanyDetailID>
<DutyAmount>9</DutyAmount>
<DutyPercentage>8</DutyPercentage>
<DutyType>sample string 6</DutyType>
<HSNCode>sample string 5</HSNCode>
<HSNCodeGST>sample string 14</HSNCodeGST>
<IGSTRate>10</IGSTRate>
<IGSTValue>11</IGSTValue>
<IsGSTApplicable>true</IsGSTApplicable>
<ItemID>4</ItemID>
<Qty>13</Qty>
<TotalValue>12</TotalValue>
</BOEDetailViewModel>
</lstDetail>
</BOEHeaderViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |