POST api/Agency/AddAgencyMaster
Request Information
URI Parameters
None.
Body Parameters
AddAgencyMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessId | integer |
None. |
|
| BusinessType | string |
None. |
|
| YearOfEstablishment | integer |
None. |
|
| IsSalesTeam | integer |
None. |
|
| SalesTeamSize | string |
None. |
|
| CustomerType | string |
None. |
|
| KeyCustomers | string |
None. |
|
| Location | string |
None. |
|
| CustomerBase | string |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BusinessId": 1,
"BusinessType": "sample string 2",
"YearOfEstablishment": 3,
"IsSalesTeam": 4,
"SalesTeamSize": "sample string 5",
"CustomerType": "sample string 6",
"KeyCustomers": "sample string 7",
"Location": "sample string 8",
"CustomerBase": "sample string 9",
"UserId": 10
}
application/xml, text/xml
Sample:
<AddAgencyMaster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BusinessId>1</BusinessId> <BusinessType>sample string 2</BusinessType> <YearOfEstablishment>3</YearOfEstablishment> <IsSalesTeam>4</IsSalesTeam> <SalesTeamSize>sample string 5</SalesTeamSize> <CustomerType>sample string 6</CustomerType> <KeyCustomers>sample string 7</KeyCustomers> <Location>sample string 8</Location> <CustomerBase>sample string 9</CustomerBase> <UserId>10</UserId> </AddAgencyMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/12/16 08:29:14",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>