POST api/ApnImport/Schedule

Request Information

URI Parameters

None.

Body Parameters

LoadActionRequest
NameDescriptionTypeAdditional information
LoadId

integer

None.

ApplyAccountAllocationRules

boolean

None.

ImportOnlyAllocated

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LoadId": 1,
  "ApplyAccountAllocationRules": true,
  "ImportOnlyAllocated": true
}

application/xml, text/xml

Sample:
<LoadActionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Importer">
  <ApplyAccountAllocationRules>true</ApplyAccountAllocationRules>
  <ImportOnlyAllocated>true</ImportOnlyAllocated>
  <LoadId>1</LoadId>
</LoadActionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfCommitResult
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

CommitResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": {
    "LoadId": 1,
    "Status": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ApiResultOfCommitResult_PJl5_Scub xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Importer">
    <d2p1:LoadId>1</d2p1:LoadId>
    <d2p1:Status>sample string 2</d2p1:Status>
  </Data>
  <Response>
    <ErrorMessage>sample string 2</ErrorMessage>
    <Success>true</Success>
  </Response>
</ApiResultOfCommitResult_PJl5_Scub>