POST api/entities/all-unassigned

Request Information

URI Parameters

None.

Body Parameters

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 EntityItemResponse
NameDescriptionTypeAdditional information
Id

Id

integer

None.

Name

Name

string

None.

EntityNumber

Entity Number

string

None.

SuperEntityNumber

Super Entity Number

integer

None.

Active

Is Active

boolean

None.

ManagementCompanyDetail

Management Company

ManagementCompanyResponse

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "entityNumber": "sample string 3",
    "superEntityNumber": 4,
    "active": true,
    "managementCompanyDetail": {
      "managementCompanyId": 1,
      "companyName": "sample string 2",
      "companyDescription": "sample string 3"
    }
  },
  {
    "id": 1,
    "name": "sample string 2",
    "entityNumber": "sample string 3",
    "superEntityNumber": 4,
    "active": true,
    "managementCompanyDetail": {
      "managementCompanyId": 1,
      "companyName": "sample string 2",
      "companyDescription": "sample string 3"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntityItemResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.Entities.Models">
  <EntityItemResponse>
    <Active>true</Active>
    <EntityNumber>sample string 3</EntityNumber>
    <Id>1</Id>
    <ManagementCompanyDetail xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.Vendors.Models">
      <d3p1:CompanyDescription>sample string 3</d3p1:CompanyDescription>
      <d3p1:CompanyName>sample string 2</d3p1:CompanyName>
      <d3p1:ManagementCompanyId>1</d3p1:ManagementCompanyId>
    </ManagementCompanyDetail>
    <Name>sample string 2</Name>
    <SuperEntityNumber>4</SuperEntityNumber>
  </EntityItemResponse>
  <EntityItemResponse>
    <Active>true</Active>
    <EntityNumber>sample string 3</EntityNumber>
    <Id>1</Id>
    <ManagementCompanyDetail xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.Vendors.Models">
      <d3p1:CompanyDescription>sample string 3</d3p1:CompanyDescription>
      <d3p1:CompanyName>sample string 2</d3p1:CompanyName>
      <d3p1:ManagementCompanyId>1</d3p1:ManagementCompanyId>
    </ManagementCompanyDetail>
    <Name>sample string 2</Name>
    <SuperEntityNumber>4</SuperEntityNumber>
  </EntityItemResponse>
</ArrayOfEntityItemResponse>