POST api/collectionsapproval/residents/pdfexport

Request Information

URI Parameters

None.

Body Parameters

PreApprovalResidentExportParametersViewModel
NameDescriptionTypeAdditional information
From

date

None.

To

date

None.

RunFor

date

None.

EntityId

integer

None.

Stages

Collection of StageApprovalViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "from": "2024-10-13T16:21:40.5317925-04:00",
  "to": "2024-10-13T16:21:40.5317925-04:00",
  "runFor": "2024-10-13T16:21:40.5317925-04:00",
  "entityId": 4,
  "stages": [
    {
      "stageId": 1,
      "residentActionExceptions": {
        "1": [
          1,
          2
        ],
        "2": [
          1,
          2
        ]
      }
    },
    {
      "stageId": 1,
      "residentActionExceptions": {
        "1": [
          1,
          2
        ],
        "2": [
          1,
          2
        ]
      }
    }
  ]
}

application/xml, text/xml

Sample:
<PreApprovalResidentExportParametersViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Collections.Execution">
  <EntityId>4</EntityId>
  <From>2024-10-13T16:21:40.5317925-04:00</From>
  <RunFor>2024-10-13T16:21:40.5317925-04:00</RunFor>
  <Stages xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Host.Shared.ViewModels.Collections.Execution">
    <d2p1:StageApprovalViewModel>
      <d2p1:ResidentActionExceptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintArrayOfintty7Ep6D1>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>
            <d4p1:int>1</d4p1:int>
            <d4p1:int>2</d4p1:int>
          </d4p1:Value>
        </d4p1:KeyValueOfintArrayOfintty7Ep6D1>
        <d4p1:KeyValueOfintArrayOfintty7Ep6D1>
          <d4p1:Key>2</d4p1:Key>
          <d4p1:Value>
            <d4p1:int>1</d4p1:int>
            <d4p1:int>2</d4p1:int>
          </d4p1:Value>
        </d4p1:KeyValueOfintArrayOfintty7Ep6D1>
      </d2p1:ResidentActionExceptions>
      <d2p1:StageId>1</d2p1:StageId>
    </d2p1:StageApprovalViewModel>
    <d2p1:StageApprovalViewModel>
      <d2p1:ResidentActionExceptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintArrayOfintty7Ep6D1>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>
            <d4p1:int>1</d4p1:int>
            <d4p1:int>2</d4p1:int>
          </d4p1:Value>
        </d4p1:KeyValueOfintArrayOfintty7Ep6D1>
        <d4p1:KeyValueOfintArrayOfintty7Ep6D1>
          <d4p1:Key>2</d4p1:Key>
          <d4p1:Value>
            <d4p1:int>1</d4p1:int>
            <d4p1:int>2</d4p1:int>
          </d4p1:Value>
        </d4p1:KeyValueOfintArrayOfintty7Ep6D1>
      </d2p1:ResidentActionExceptions>
      <d2p1:StageId>1</d2p1:StageId>
    </d2p1:StageApprovalViewModel>
  </Stages>
  <To>2024-10-13T16:21:40.5317925-04:00</To>
</PreApprovalResidentExportParametersViewModel>

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 'PreApprovalResidentExportParametersViewModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.