POST
api/v1/update-vendor-address?clientId={clientId}&createdBy={createdBy}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientId | integer |
Required |
|
createdBy | integer |
Required |
Body Parameters
VendorAddressName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
BPCode | string |
None. |
|
Address | string |
None. |
|
ZipCode | string |
None. |
|
City | string |
None. |
|
CountryId | integer |
None. |
|
Country | string |
None. |
|
CountryName | string |
None. |
|
StateId | integer |
None. |
|
State | string |
None. |
|
StateName | string |
None. |
|
TaxCode | string |
None. |
|
AddressType | string |
None. |
|
isActive | boolean |
None. |
|
isPrimary | boolean |
None. |
|
IsLogicalDeleted | boolean |
None. |
Request Formats
application/json, text/json
{ "Id": 1, "BPCode": "sample string 2", "Address": "sample string 3", "ZipCode": "sample string 4", "City": "sample string 5", "CountryId": 6, "Country": "sample string 7", "CountryName": "sample string 8", "StateId": 9, "State": "sample string 10", "StateName": "sample string 11", "TaxCode": "sample string 12", "AddressType": "sample string 13", "isActive": true, "isPrimary": true, "IsLogicalDeleted": true }
text/html
{"Id":1,"BPCode":"sample string 2","Address":"sample string 3","ZipCode":"sample string 4","City":"sample string 5","CountryId":6,"Country":"sample string 7","CountryName":"sample string 8","StateId":9,"State":"sample string 10","StateName":"sample string 11","TaxCode":"sample string 12","AddressType":"sample string 13","isActive":true,"isPrimary":true,"IsLogicalDeleted":true}
application/xml, text/xml
<VendorAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Vendor"> <Address>sample string 3</Address> <AddressType>sample string 13</AddressType> <BPCode>sample string 2</BPCode> <City>sample string 5</City> <Country>sample string 7</Country> <CountryId>6</CountryId> <CountryName>sample string 8</CountryName> <Id>1</Id> <IsLogicalDeleted>true</IsLogicalDeleted> <State>sample string 10</State> <StateId>9</StateId> <StateName>sample string 11</StateName> <TaxCode>sample string 12</TaxCode> <ZipCode>sample string 4</ZipCode> <isActive>true</isActive> <isPrimary>true</isPrimary> </VendorAddress>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: boolean
Response Formats
application/json, text/json, text/html
true
application/xml, text/xml
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>