Fluxir DocsFluxir Docs

Resolve document type selection

Resolves the document type selection for the specified document type name ID, optionally using an origination country code.

POST/api/app/visa-type/resolve-document-type-selection/{documentTypeNameId}

Header Parameters

X-Tenantstring

Tenant ID

Path Parameters

documentTypeNameIdstringrequired

Query Parameters

originationCountryCodestring

Response

OK

documentTypeIdinteger<int64>
documentTypeNameIdstring

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 POST "https://api.example.com/api/app/visa-type/resolve-document-type-selection/<documentTypeNameId>?originationCountryCode=<originationCountryCode>" \
  -H "X-Tenant: <X-Tenant>"
Response
{
  "documentTypeId": 0,
  "documentTypeNameId": "string"
}