POST api/Stock/InsertExceedInvoice?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
ExceedModelName | Description | Type | Additional information |
---|---|---|---|
InvoiceId | integer |
None. |
|
InvoiceDate | date |
None. |
|
Narration | string |
None. |
|
IsFinalize | boolean |
None. |
|
IsPosted | boolean |
None. |
|
CashAccount | string |
None. |
|
UserNo | integer |
None. |
|
OfficeID | integer |
None. |
|
IsMultiInvoice | boolean |
None. |
|
IsPosted2 | boolean |
None. |
|
IsPosted3 | boolean |
None. |
|
IsPosted4 | boolean |
None. |
|
IDOffice | integer |
None. |
|
ListBody | Collection of ExceedBody |
None. |
|
ListBatch | Collection of ExceedBatch |
None. |
|
ListStore | Collection of ExceedStores |
None. |
Request Formats
application/json, text/json
Sample:
{ "InvoiceId": 1, "InvoiceDate": "2025-07-04T18:29:45.3007248+05:00", "Narration": "sample string 3", "IsFinalize": true, "IsPosted": true, "CashAccount": "sample string 5", "UserNo": 6, "OfficeID": 7, "IsMultiInvoice": true, "IsPosted2": true, "IsPosted3": true, "IsPosted4": true, "IDOffice": 12, "ListBody": [ { "SerialNo": 1, "InvoiceId": 2, "ProductId": "sample string 3", "PackingId": 4, "Qty": 5, "Rate": 6.0, "QtyL": 7, "Value": 8.0, "IsFinalize": true, "ProductName": "sample string 9", "PackingName": "sample string 10", "Multiplier": 11.0 }, { "SerialNo": 1, "InvoiceId": 2, "ProductId": "sample string 3", "PackingId": 4, "Qty": 5, "Rate": 6.0, "QtyL": 7, "Value": 8.0, "IsFinalize": true, "ProductName": "sample string 9", "PackingName": "sample string 10", "Multiplier": 11.0 } ], "ListBatch": [ { "InvoiceId": 1, "ProductId": "sample string 2", "BatchNo": "sample string 3", "ExpiryDate": "2025-07-04T18:29:45.3007248+05:00", "Quantity": 5, "QtyP": 6, "QtyL": 7, "Cost": 8.0, "IsDeleted": true, "StoreID": 10, "PackingId": 11 }, { "InvoiceId": 1, "ProductId": "sample string 2", "BatchNo": "sample string 3", "ExpiryDate": "2025-07-04T18:29:45.3007248+05:00", "Quantity": 5, "QtyP": 6, "QtyL": 7, "Cost": 8.0, "IsDeleted": true, "StoreID": 10, "PackingId": 11 } ], "ListStore": [ { "StoreID": 1, "InvoiceId": 2, "ProductID": "sample string 3", "PackingID": 4, "QtyP": 5, "QtyL": 6, "isDeleted": true }, { "StoreID": 1, "InvoiceId": 2, "ProductID": "sample string 3", "PackingID": 4, "QtyP": 5, "QtyL": 6, "isDeleted": true } ] }
application/xml, text/xml
Sample:
<ExceedModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models.Stock"> <CashAccount>sample string 5</CashAccount> <IDOffice>12</IDOffice> <InvoiceDate>2025-07-04T18:29:45.3007248+05:00</InvoiceDate> <InvoiceId>1</InvoiceId> <IsFinalize>true</IsFinalize> <IsMultiInvoice>true</IsMultiInvoice> <IsPosted>true</IsPosted> <IsPosted2>true</IsPosted2> <IsPosted3>true</IsPosted3> <IsPosted4>true</IsPosted4> <ListBatch> <ExceedBatch> <BatchNo>sample string 3</BatchNo> <Cost>8</Cost> <ExpiryDate>2025-07-04T18:29:45.3007248+05:00</ExpiryDate> <InvoiceId>1</InvoiceId> <IsDeleted>true</IsDeleted> <PackingId>11</PackingId> <ProductId>sample string 2</ProductId> <QtyL>7</QtyL> <QtyP>6</QtyP> <Quantity>5</Quantity> <StoreID>10</StoreID> </ExceedBatch> <ExceedBatch> <BatchNo>sample string 3</BatchNo> <Cost>8</Cost> <ExpiryDate>2025-07-04T18:29:45.3007248+05:00</ExpiryDate> <InvoiceId>1</InvoiceId> <IsDeleted>true</IsDeleted> <PackingId>11</PackingId> <ProductId>sample string 2</ProductId> <QtyL>7</QtyL> <QtyP>6</QtyP> <Quantity>5</Quantity> <StoreID>10</StoreID> </ExceedBatch> </ListBatch> <ListBody> <ExceedBody> <InvoiceId>2</InvoiceId> <IsFinalize>true</IsFinalize> <Multiplier>11</Multiplier> <PackingId>4</PackingId> <PackingName>sample string 10</PackingName> <ProductId>sample string 3</ProductId> <ProductName>sample string 9</ProductName> <Qty>5</Qty> <QtyL>7</QtyL> <Rate>6</Rate> <SerialNo>1</SerialNo> <Value>8</Value> </ExceedBody> <ExceedBody> <InvoiceId>2</InvoiceId> <IsFinalize>true</IsFinalize> <Multiplier>11</Multiplier> <PackingId>4</PackingId> <PackingName>sample string 10</PackingName> <ProductId>sample string 3</ProductId> <ProductName>sample string 9</ProductName> <Qty>5</Qty> <QtyL>7</QtyL> <Rate>6</Rate> <SerialNo>1</SerialNo> <Value>8</Value> </ExceedBody> </ListBody> <ListStore> <ExceedStores> <InvoiceId>2</InvoiceId> <PackingID>4</PackingID> <ProductID>sample string 3</ProductID> <QtyL>6</QtyL> <QtyP>5</QtyP> <StoreID>1</StoreID> <isDeleted>true</isDeleted> </ExceedStores> <ExceedStores> <InvoiceId>2</InvoiceId> <PackingID>4</PackingID> <ProductID>sample string 3</ProductID> <QtyL>6</QtyL> <QtyP>5</QtyP> <StoreID>1</StoreID> <isDeleted>true</isDeleted> </ExceedStores> </ListStore> <Narration>sample string 3</Narration> <OfficeID>7</OfficeID> <UserNo>6</UserNo> </ExceedModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |