POST api/AccountingSystem/AgencyRegistration
Request Information
URI Parameters
None.
Body Parameters
AgencyDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| UserType | string |
None. |
|
| AgencyId | string |
None. |
|
| UserId | string |
None. |
|
| CompanyId | string |
None. |
|
| CompanyName | string |
None. |
|
| GroupType | string |
None. |
|
| TotalBalance | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserType": "sample string 1",
"AgencyId": "sample string 2",
"UserId": "sample string 3",
"CompanyId": "sample string 4",
"CompanyName": "sample string 5",
"GroupType": "sample string 6",
"TotalBalance": 7.0
}
application/xml, text/xml
Sample:
<AgencyDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UtilityService.DataTransferObject"> <AgencyId>sample string 2</AgencyId> <CompanyId>sample string 4</CompanyId> <CompanyName>sample string 5</CompanyName> <GroupType>sample string 6</GroupType> <TotalBalance>7</TotalBalance> <UserId>sample string 3</UserId> <UserType>sample string 1</UserType> </AgencyDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| STR_ERROR_CODE | string |
None. |
|
| STR_STATUS | string |
None. |
|
| STR_TYPE | string |
None. |
|
| STR_MESSAGE | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"STR_ERROR_CODE": "sample string 1",
"STR_STATUS": "sample string 2",
"STR_TYPE": "sample string 3",
"STR_MESSAGE": "sample string 4"
}
application/xml, text/xml
Sample:
<AutoCustomer.ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UtilityService.DataTransferObject.AccountingSystem.Orion"> <STR_ERROR_CODE>sample string 1</STR_ERROR_CODE> <STR_MESSAGE>sample string 4</STR_MESSAGE> <STR_STATUS>sample string 2</STR_STATUS> <STR_TYPE>sample string 3</STR_TYPE> </AutoCustomer.ServiceResponse>