GET
api/v1/get-distributor-address-by-id?id={id}&bpCode={bpCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| bpCode | integer |
Required |
Response Information
Description:
Return type: DistributorAddress
Response Formats
application/json, text/json
{
"Id": 1,
"DealerId": 2,
"AddressName": "sample string 3",
"Address": "sample string 4",
"StateCode": "sample string 5",
"StateName": "sample string 6",
"City": "sample string 7",
"CountryCode": "sample string 8",
"CountryName": "sample string 9",
"ZipCode": "sample string 10",
"Email": "sample string 11",
"Phone": "sample string 12",
"IsPrimary": true,
"Latitude": "sample string 14",
"Longitude": "sample string 15",
"IsActive": true,
"IsLogicalDeleted": true
}
text/html
{"Id":1,"DealerId":2,"AddressName":"sample string 3","Address":"sample string 4","StateCode":"sample string 5","StateName":"sample string 6","City":"sample string 7","CountryCode":"sample string 8","CountryName":"sample string 9","ZipCode":"sample string 10","Email":"sample string 11","Phone":"sample string 12","IsPrimary":true,"Latitude":"sample string 14","Longitude":"sample string 15","IsActive":true,"IsLogicalDeleted":true}
application/xml, text/xml
<DistributorAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI_Spanish.Models.Distributor"> <Address>sample string 4</Address> <AddressName>sample string 3</AddressName> <City>sample string 7</City> <CountryCode>sample string 8</CountryCode> <CountryName>sample string 9</CountryName> <DealerId>2</DealerId> <Email>sample string 11</Email> <Id>1</Id> <IsActive>true</IsActive> <IsLogicalDeleted>true</IsLogicalDeleted> <IsPrimary>true</IsPrimary> <Latitude>sample string 14</Latitude> <Longitude>sample string 15</Longitude> <Phone>sample string 12</Phone> <StateCode>sample string 5</StateCode> <StateName>sample string 6</StateName> <ZipCode>sample string 10</ZipCode> </DistributorAddress>
