POST portal/api/Factory/v1/GetAccounts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of AccountsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| OrgCode | integer |
None. |
|
| Year | integer |
None. |
|
| ActType | integer |
None. |
|
| AcCode | integer |
None. |
|
| Name | string |
None. |
|
| Amount | decimal number |
None. |
|
| Description | string |
None. |
|
| RawMaterialCost | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OrgCode": 1,
"Year": 2,
"ActType": 3,
"AcCode": 4,
"Name": "sample string 5",
"Amount": 1.0,
"Description": "sample string 6",
"RawMaterialCost": 1.1
},
{
"OrgCode": 1,
"Year": 2,
"ActType": 3,
"AcCode": 4,
"Name": "sample string 5",
"Amount": 1.0,
"Description": "sample string 6",
"RawMaterialCost": 1.1
}
]
application/xml, text/xml
Sample:
<ArrayOfAccountsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HorizonSSI.HRIntegration.Models">
<AccountsDto>
<AcCode>4</AcCode>
<ActType>3</ActType>
<Amount>1</Amount>
<Description>sample string 6</Description>
<Name>sample string 5</Name>
<OrgCode>1</OrgCode>
<RawMaterialCost>1.1</RawMaterialCost>
<Year>2</Year>
</AccountsDto>
<AccountsDto>
<AcCode>4</AcCode>
<ActType>3</ActType>
<Amount>1</Amount>
<Description>sample string 6</Description>
<Name>sample string 5</Name>
<OrgCode>1</OrgCode>
<RawMaterialCost>1.1</RawMaterialCost>
<Year>2</Year>
</AccountsDto>
</ArrayOfAccountsDto>