Fluxir DocsFluxir Docs

List country document types

Returns a paged list of country document types. Results can be filtered by country code and document type ID, sorted, and paged.

GET/api/app/country-document-type

Header Parameters

X-Tenantstring

Tenant ID

Query Parameters

CountryCodestring
DocumentTypeIdinteger
Sortingstring
SkipCountinteger
MaxResultCountinteger

Response

OK

itemsobject[]
Show items properties
idinteger<int64>
countryCodestring
documentTypeIdinteger<int64>
documentTypeNameIdstring
documentTypeTitlestring
totalCountinteger<int64>

Bad Request

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Unauthorized

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Forbidden

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Found

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Internal Server Error

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Implemented

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]
Request
curl -X GET "https://api.example.com/api/app/country-document-type?CountryCode=<CountryCode>&DocumentTypeId=<DocumentTypeId>&Sorting=<Sorting>&SkipCount=<SkipCount>&MaxResultCount=<MaxResultCount>" \
  -H "X-Tenant: <X-Tenant>"
Response
{
  "items": [
    {
      "id": 0,
      "countryCode": "string",
      "documentTypeId": 0,
      "documentTypeNameId": "string",
      "documentTypeTitle": "string"
    }
  ],
  "totalCount": 0
}