POST api/Stock/InsertStockIssueBySalesman?isOpen={isOpen}&userId={userId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| isOpen | boolean |
Default value is False |
|
| userId | integer |
Default value is 0 |
Body Parameters
StockIssueToSalesmanModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IssueID | integer |
None. |
|
| IssueDate | date |
None. |
|
| SalesmanID | string |
None. |
|
| IsUploaded | boolean |
None. |
|
| BookerID | string |
None. |
|
| DeliveryDate | date |
None. |
|
| DemandID | integer |
None. |
|
| Remarks | string |
None. |
|
| OfficeID | integer |
None. |
|
| IsPosted | boolean |
None. |
|
| SalesmanName | string |
None. |
|
| DemandDate | date |
None. |
|
| ListBody | Collection of StockIssueBody |
None. |
Request Formats
application/json, text/json
Sample:
{
"IssueID": 1,
"IssueDate": "2025-12-16T08:20:23.2107726+05:00",
"SalesmanID": "sample string 3",
"IsUploaded": true,
"BookerID": "sample string 5",
"DeliveryDate": "2025-12-16T08:20:23.2107726+05:00",
"DemandID": 7,
"Remarks": "sample string 8",
"OfficeID": 9,
"IsPosted": true,
"SalesmanName": "sample string 11",
"DemandDate": "2025-12-16T08:20:23.2107726+05:00",
"ListBody": [
{
"IssueID": 1,
"ProductID": "sample string 2",
"PackingId": 3,
"Multiplier": 4.0,
"QtyPack": 5,
"QtyLose": 6,
"PerUnitCostLose": 7.0,
"TTLValue": 8.0,
"DQtyL": 9,
"DQtyP": 10,
"CSQtyP": 11,
"CSQtyL": 12,
"ProductName": "sample string 13",
"PackingName": "sample string 14"
},
{
"IssueID": 1,
"ProductID": "sample string 2",
"PackingId": 3,
"Multiplier": 4.0,
"QtyPack": 5,
"QtyLose": 6,
"PerUnitCostLose": 7.0,
"TTLValue": 8.0,
"DQtyL": 9,
"DQtyP": 10,
"CSQtyP": 11,
"CSQtyL": 12,
"ProductName": "sample string 13",
"PackingName": "sample string 14"
}
]
}
application/xml, text/xml
Sample:
<StockIssueToSalesmanModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models.Stock">
<BookerID>sample string 5</BookerID>
<DeliveryDate>2025-12-16T08:20:23.2107726+05:00</DeliveryDate>
<DemandDate>2025-12-16T08:20:23.2107726+05:00</DemandDate>
<DemandID>7</DemandID>
<IsPosted>true</IsPosted>
<IsUploaded>true</IsUploaded>
<IssueDate>2025-12-16T08:20:23.2107726+05:00</IssueDate>
<IssueID>1</IssueID>
<ListBody>
<StockIssueBody>
<CSQtyL>12</CSQtyL>
<CSQtyP>11</CSQtyP>
<DQtyL>9</DQtyL>
<DQtyP>10</DQtyP>
<IssueID>1</IssueID>
<Multiplier>4</Multiplier>
<PackingId>3</PackingId>
<PackingName>sample string 14</PackingName>
<PerUnitCostLose>7</PerUnitCostLose>
<ProductID>sample string 2</ProductID>
<ProductName>sample string 13</ProductName>
<QtyLose>6</QtyLose>
<QtyPack>5</QtyPack>
<TTLValue>8</TTLValue>
</StockIssueBody>
<StockIssueBody>
<CSQtyL>12</CSQtyL>
<CSQtyP>11</CSQtyP>
<DQtyL>9</DQtyL>
<DQtyP>10</DQtyP>
<IssueID>1</IssueID>
<Multiplier>4</Multiplier>
<PackingId>3</PackingId>
<PackingName>sample string 14</PackingName>
<PerUnitCostLose>7</PerUnitCostLose>
<ProductID>sample string 2</ProductID>
<ProductName>sample string 13</ProductName>
<QtyLose>6</QtyLose>
<QtyPack>5</QtyPack>
<TTLValue>8</TTLValue>
</StockIssueBody>
</ListBody>
<OfficeID>9</OfficeID>
<Remarks>sample string 8</Remarks>
<SalesmanID>sample string 3</SalesmanID>
<SalesmanName>sample string 11</SalesmanName>
</StockIssueToSalesmanModel>
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. |