POST api/Broker/BrokerIndex/{BrokerCode}/{BrokerName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| BrokerCode | string |
Required |
|
| BrokerName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BrokerInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| BrokerId | integer |
None. |
|
| BrokerCode | string |
None. |
|
| Serial | integer |
None. |
|
| BrokerName | string |
None. |
|
| Address | string |
None. |
|
| Currency_Symbol | string |
None. |
|
| Currency_Name | string |
None. |
|
| Balance | decimal number |
None. |
|
| City_ID | integer |
None. |
|
| City_Name | string |
None. |
|
| Has_Attachment | boolean |
None. |
|
| Mobile_No | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BrokerId": 1,
"BrokerCode": "sample string 2",
"Serial": 3,
"BrokerName": "sample string 4",
"Address": "sample string 5",
"Currency_Symbol": "sample string 6",
"Currency_Name": "sample string 7",
"Balance": 8.1,
"City_ID": 9,
"City_Name": "sample string 10",
"Has_Attachment": true,
"Mobile_No": "sample string 12"
},
{
"BrokerId": 1,
"BrokerCode": "sample string 2",
"Serial": 3,
"BrokerName": "sample string 4",
"Address": "sample string 5",
"Currency_Symbol": "sample string 6",
"Currency_Name": "sample string 7",
"Balance": 8.1,
"City_ID": 9,
"City_Name": "sample string 10",
"Has_Attachment": true,
"Mobile_No": "sample string 12"
}
]
application/xml, text/xml
Sample:
<ArrayOfBrokerInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.Models">
<BrokerInfo>
<Address>sample string 5</Address>
<Balance>8.1</Balance>
<BrokerCode>sample string 2</BrokerCode>
<BrokerId>1</BrokerId>
<BrokerName>sample string 4</BrokerName>
<City_ID>9</City_ID>
<City_Name>sample string 10</City_Name>
<Currency_Name>sample string 7</Currency_Name>
<Currency_Symbol>sample string 6</Currency_Symbol>
<Has_Attachment>true</Has_Attachment>
<Mobile_No>sample string 12</Mobile_No>
<Serial>3</Serial>
</BrokerInfo>
<BrokerInfo>
<Address>sample string 5</Address>
<Balance>8.1</Balance>
<BrokerCode>sample string 2</BrokerCode>
<BrokerId>1</BrokerId>
<BrokerName>sample string 4</BrokerName>
<City_ID>9</City_ID>
<City_Name>sample string 10</City_Name>
<Currency_Name>sample string 7</Currency_Name>
<Currency_Symbol>sample string 6</Currency_Symbol>
<Has_Attachment>true</Has_Attachment>
<Mobile_No>sample string 12</Mobile_No>
<Serial>3</Serial>
</BrokerInfo>
</ArrayOfBrokerInfo>