POST api/VendorEntityLinks?irs1099Only={irs1099Only}&activeOnly={activeOnly}

Search Vendor Entity Links by super entity id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
irs1099Only

Filter by 1099 vendors

boolean

Required

activeOnly

Filter by active vendors>

boolean

Required

Body Parameters

Super Entity Id List

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Collection of VendorEntityLinkViewModel
NameDescriptionTypeAdditional information
Id

Link Id

integer

None.

VendorId

Vendor Id

integer

None.

SuperEntityId

Super Entity Id

integer

None.

ChartOfAccountsId

Chart of Accounts Id

integer

None.

GlSubAccountId

Gl Sub Account Id

integer

None.

VendorCode

string

None.

VendorName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "vendorId": 2,
    "superEntityId": 3,
    "chartOfAccountsId": 4,
    "glSubAccountId": 5,
    "vendorCode": "sample string 6",
    "vendorName": "sample string 7"
  },
  {
    "id": 1,
    "vendorId": 2,
    "superEntityId": 3,
    "chartOfAccountsId": 4,
    "glSubAccountId": 5,
    "vendorCode": "sample string 6",
    "vendorName": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVendorEntityLinkViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <VendorEntityLinkViewModel>
    <ChartOfAccountsId>4</ChartOfAccountsId>
    <GlSubAccountId>5</GlSubAccountId>
    <Id>1</Id>
    <SuperEntityId>3</SuperEntityId>
    <VendorCode>sample string 6</VendorCode>
    <VendorId>2</VendorId>
    <VendorName>sample string 7</VendorName>
  </VendorEntityLinkViewModel>
  <VendorEntityLinkViewModel>
    <ChartOfAccountsId>4</ChartOfAccountsId>
    <GlSubAccountId>5</GlSubAccountId>
    <Id>1</Id>
    <SuperEntityId>3</SuperEntityId>
    <VendorCode>sample string 6</VendorCode>
    <VendorId>2</VendorId>
    <VendorName>sample string 7</VendorName>
  </VendorEntityLinkViewModel>
</ArrayOfVendorEntityLinkViewModel>