GET api/packages/documentsPackage/{packageId}

Fetches data for a single package by its ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
packageId

integer

Required

Body Parameters

None.

Response Information

Resource Description

DocumentsPackageDTO
NameDescriptionTypeAdditional information
DocumentsPackageId

Unique ID identifying the package.

integer

None.

PackageName

Unique name of the package.

string

None.

LowerLimit

Lower limit on the number of allowed sent documents, inclusively.

integer

None.

UpperLimit

Upper limit on the number of allowed sent documents, inclusively.

integer

None.

Status

"Active" or "Inactive". Inactive packages cannot be used for new subscriptions anymore.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DocumentsPackageId": 1,
  "PackageName": "sample string 2",
  "LowerLimit": 3,
  "UpperLimit": 4,
  "Status": "sample string 5"
}

text/html

Sample:
{"DocumentsPackageId":1,"PackageName":"sample string 2","LowerLimit":3,"UpperLimit":4,"Status":"sample string 5"}

application/xml, text/xml

Sample:
<DocumentsPackageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <DocumentsPackageId>1</DocumentsPackageId>
  <LowerLimit>3</LowerLimit>
  <PackageName>sample string 2</PackageName>
  <Status>sample string 5</Status>
  <UpperLimit>4</UpperLimit>
</DocumentsPackageDTO>