PUT api/entities/{entityId}/vendors/all
Assign all vendors in the criteria to entityId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| entityId |
|
integer |
Required |
Body Parameters
EntityVendorAssignCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| Exclude |
|
Collection of integer |
None. |
| FederalTaxId |
|
string |
None. |
| VendorDisplayName |
|
string |
None. |
| VendorTypeId |
|
integer |
None. |
| VendorServiceId |
|
integer |
None. |
| IsActive |
|
boolean |
None. |
| Address1 |
|
string |
None. |
| Address2 |
|
string |
None. |
| City |
|
string |
None. |
| State |
|
string |
None. |
| ZipCode |
|
string |
None. |
Request Formats
application/json, text/json
{
"exclude": [
1,
2
],
"federalTaxId": "sample string 1",
"vendorDisplayName": "sample string 2",
"vendorTypeId": 1,
"vendorServiceId": 1,
"isActive": true,
"address1": "sample string 3",
"address2": "sample string 4",
"city": "sample string 5",
"state": "sample string 6",
"zipCode": "sample string 7"
}
application/xml, text/xml
<EntityVendorAssignCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.Entities.Models">
<Address1>sample string 3</Address1>
<Address2>sample string 4</Address2>
<City>sample string 5</City>
<Exclude xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Exclude>
<FederalTaxId>sample string 1</FederalTaxId>
<IsActive>true</IsActive>
<State>sample string 6</State>
<VendorDisplayName>sample string 2</VendorDisplayName>
<VendorServiceId>1</VendorServiceId>
<VendorTypeId>1</VendorTypeId>
<ZipCode>sample string 7</ZipCode>
</EntityVendorAssignCriteria>
application/x-www-form-urlencoded
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.