POST api/Sage/SaveSageInventoryGroupAccountMapping
Api to save Inventory Group Account Mapping
Request Information
URI Parameters
None.
Body Parameters
InsertUpdateSageInventoryAccountMappingRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InventoryDataMapID | integer |
None. |
|
| InventoryCategoryID | integer |
None. |
|
| AccountGroupID | integer |
None. |
|
| AccountID | integer |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{
"inventoryDataMapID": 1,
"inventoryCategoryID": 1,
"accountGroupID": 1,
"accountID": 1
}
application/xml, text/xml
Sample:
<InsertUpdateSageInventoryAccountMappingRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.RequestModel.Sage"> <AccountGroupID>1</AccountGroupID> <AccountID>1</AccountID> <InventoryCategoryID>1</InventoryCategoryID> <InventoryDataMapID>1</InventoryDataMapID> </InsertUpdateSageInventoryAccountMappingRequestModel>
multipart/form-data
Sample:
<InsertUpdateSageInventoryAccountMappingRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.RequestModel.Sage"><AccountGroupID>1</AccountGroupID><AccountID>1</AccountID><InventoryCategoryID>1</InventoryCategoryID><InventoryDataMapID>1</InventoryDataMapID></InsertUpdateSageInventoryAccountMappingRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponseDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnID | integer |
Required |
|
| Message | string |
Required |
|
| Successful | boolean |
Required |
|
| Code | integer |
None. |
|
| TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{
"returnID": 1,
"message": "sample string 2",
"successful": true,
"code": 4,
"totalRecord": 5
}
application/xml, text/xml
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel"> <Code>4</Code> <Message>sample string 2</Message> <ReturnID>1</ReturnID> <Successful>true</Successful> <TotalRecord>5</TotalRecord> </CommonResponseDataModel>
multipart/form-data
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>