Get All Document Categories for Record

Gets the document types associated with the specified record.

Resource Information

Scoperecords

Deprecated scope name:   get_record_document_categories

App TypeAll
Authorization TypeAccess token
URI /v4/records/{recordId}/documentCategories?lang={lang}
HTTP MethodGET
Automation Version(s)7.3.2

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
langStringNo Indicates the language applied.7.3.2
recordIdstringYes Get All Records Search Records Get My Records The unique ID associated with a record.7.3.2

Response Information

FieldTypeDescriptionAutomation Version
result[]result{} 7.3.2
result.deletablebooleanIndicates whether or not the record can be deleted.7.3.2
result.downloadablebooleanIndicates whether or not the document type can be downloaded.7.3.2
result.groupresult.group{}The document group for the document category.7.3.2
result.group.textstringThe localized display text.7.3.2
result.group.valuestringThe value for the specified parameter.7.3.2
result.idstringThe unique identifier for the object, assigned by the Civic Platform server and provided in a response.7.3.2
result.textstringThe localized display text.7.3.2
result.uploadablebooleanWhether or not you can upload documents of the specified category.7.3.2
result.valuestringThe value for the specified parameter.7.3.2
result.viewablebooleanDetermines whether or not you can view the document category associated with the record.7.3.2
statusintegerThe record status.7.3.3