POST api/WsRm_InvAdjustementHeader/GenerateCode
Request Information
URI Parameters
None.
Body Parameters
WsRm_InvAdjustementHeader| Name | Description | Type | Additional information |
|---|---|---|---|
| IsApproved | boolean |
None. |
|
| ApprovedDate | date |
None. |
|
| DocDate | date |
None. |
|
| EntryDate | date |
None. |
|
| ModifyDate | date |
None. |
|
| ApprovedUserId | integer |
None. |
|
| BranchId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| DocNo | integer |
None. |
|
| EntryUserId | integer |
None. |
|
| Id | integer |
None. |
|
| ModifyUserId | integer |
None. |
|
| OrganizationId | integer |
None. |
|
| ProjectId | integer |
None. |
|
| WarehouseId | integer |
None. |
|
| DocumentTypeId | integer |
None. |
|
| RemarksHeader | string |
None. |
|
| WsRmInvAdjustementDetailList | Collection of WsRmInvAdjustementDetail |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsApproved": true,
"ApprovedDate": "2025-10-29T13:17:24.4475254+05:00",
"DocDate": "2025-10-29T13:17:24.4475254+05:00",
"EntryDate": "2025-10-29T13:17:24.4475254+05:00",
"ModifyDate": "2025-10-29T13:17:24.4475254+05:00",
"ApprovedUserId": 6,
"BranchId": 7,
"CompanyId": 8,
"DocNo": 9,
"EntryUserId": 10,
"Id": 11,
"ModifyUserId": 12,
"OrganizationId": 13,
"ProjectId": 14,
"WarehouseId": 15,
"DocumentTypeId": 16,
"RemarksHeader": "sample string 17",
"WsRmInvAdjustementDetailList": [
{
"CostPrice": 1.0,
"CurrStock": 2.0,
"QtyInOut": 3.0,
"AdjustmentReason": 4,
"Id": 5,
"ItemId": 6,
"ItemUomId": 7,
"SubLineNo": 8,
"WsRm_InvAdjustementHeaderId": 9,
"RemarksDetail": "sample string 10",
"ItemName": "sample string 11",
"PackUom": "sample string 12"
},
{
"CostPrice": 1.0,
"CurrStock": 2.0,
"QtyInOut": 3.0,
"AdjustmentReason": 4,
"Id": 5,
"ItemId": 6,
"ItemUomId": 7,
"SubLineNo": 8,
"WsRm_InvAdjustementHeaderId": 9,
"RemarksDetail": "sample string 10",
"ItemName": "sample string 11",
"PackUom": "sample string 12"
}
]
}
application/xml, text/xml
Sample:
<WsRm_InvAdjustementHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.POS">
<ApprovedDate>2025-10-29T13:17:24.4475254+05:00</ApprovedDate>
<ApprovedUserId>6</ApprovedUserId>
<BranchId>7</BranchId>
<CompanyId>8</CompanyId>
<DocDate>2025-10-29T13:17:24.4475254+05:00</DocDate>
<DocNo>9</DocNo>
<DocumentTypeId>16</DocumentTypeId>
<EntryDate>2025-10-29T13:17:24.4475254+05:00</EntryDate>
<EntryUserId>10</EntryUserId>
<Id>11</Id>
<IsApproved>true</IsApproved>
<ModifyDate>2025-10-29T13:17:24.4475254+05:00</ModifyDate>
<ModifyUserId>12</ModifyUserId>
<OrganizationId>13</OrganizationId>
<ProjectId>14</ProjectId>
<RemarksHeader>sample string 17</RemarksHeader>
<WarehouseId>15</WarehouseId>
<WsRmInvAdjustementDetailList>
<WsRmInvAdjustementDetail>
<AdjustmentReason>4</AdjustmentReason>
<CostPrice>1</CostPrice>
<CurrStock>2</CurrStock>
<Id>5</Id>
<ItemId>6</ItemId>
<ItemName>sample string 11</ItemName>
<ItemUomId>7</ItemUomId>
<PackUom>sample string 12</PackUom>
<QtyInOut>3</QtyInOut>
<RemarksDetail>sample string 10</RemarksDetail>
<SubLineNo>8</SubLineNo>
<WsRm_InvAdjustementHeaderId>9</WsRm_InvAdjustementHeaderId>
</WsRmInvAdjustementDetail>
<WsRmInvAdjustementDetail>
<AdjustmentReason>4</AdjustmentReason>
<CostPrice>1</CostPrice>
<CurrStock>2</CurrStock>
<Id>5</Id>
<ItemId>6</ItemId>
<ItemName>sample string 11</ItemName>
<ItemUomId>7</ItemUomId>
<PackUom>sample string 12</PackUom>
<QtyInOut>3</QtyInOut>
<RemarksDetail>sample string 10</RemarksDetail>
<SubLineNo>8</SubLineNo>
<WsRm_InvAdjustementHeaderId>9</WsRm_InvAdjustementHeaderId>
</WsRmInvAdjustementDetail>
</WsRmInvAdjustementDetailList>
</WsRm_InvAdjustementHeader>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.