Select
Templates
Document builder with sections
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | The string id related with one of Grupo MasOrange tenants |
body | body | CreateTemplateRequest | true | Metadata for creating a template from language sections. |
Request body - instance of CreateTemplateRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
templateName | string | true | name of template of sections (will be normalized on template external Id) |
defaultLanguage | Language | true | Templates languages allowed Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED |
orderedSectionNames | OrderedSectionNames | true | list sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled |
rules | Rules | false | defines conditions rules that have to be matched in fill flags values, to allow this section to be filled |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | New template is created. Expected response for a valid request. | TemplateMetadata |
204 | No Content | Template created successfully. | None |
400 | Bad Request | Request input is not valid | None |
401 | Unauthorized | Unauthorized. AuthN and AuthZ validations have fail | None |
404 | Not Found | resource not found | None |
409 | Conflict | Conflict. Resource already exits | None |
410 | Gone | resource is not longer available | None |
500 | Internal Server Error | Not expected error | None |
default | Default | Error response | ErrorsResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | The string id related with one of Grupo MasOrange tenants |
page | query | Page | false | Defines templates page number to be show. If not defined, default value is 0 (first page). |
pageSize | query | PageSize | false | Defines the number of templates returned in each page. If not defined, default value is 50. |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | The templates metadata is returned. Expected response for a valid request. | AllTemplatesResponse |
400 | Bad Request | Request input is not valid | None |
401 | Unauthorized | Unauthorized. AuthN and AuthZ validations have fail | None |
500 | Internal Server Error | Not expected error | None |
default | Default | Error response | ErrorsResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | The string id related with one of Grupo MasOrange tenants |
templateExternalId | path | string | true | The external id of the template |
body | body | UpgradeTemplateRequest | true | Metadata for upgrading a template from language sections |
Request body - instance of UpgradeTemplateRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
defaultLanguage | Language | true | Templates languages allowed Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED |
orderedSectionNames | OrderedSectionNames | true | list sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled |
rules | Rules | false | defines conditions rules that have to be matched in fill flags values, to allow this section to be filled |
changelog | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | New version template is created. Expected response for a valid request. | TemplateMetadata |
204 | No Content | Template upgraded successfully. | None |
400 | Bad Request | Request input is not valid | None |
401 | Unauthorized | Unauthorized. AuthN and AuthZ validations have fail | None |
404 | Not Found | resource not found | None |
500 | Internal Server Error | Not expected error | None |
default | Default | Error response | ErrorsResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | The string id related with one of Grupo MasOrange tenants |
templateExternalId | path | string | true | The external id of the template |
version | path | integer | true | version of the template to be updated |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Template deleted successfully. | None |
400 | Bad Request | Request input is not valid | None |
401 | Unauthorized | Unauthorized. AuthN and AuthZ validations have fail | None |
404 | Not Found | resource not found | None |
409 | Conflict | Conflict. Minor version can not be deleted | None |
500 | Internal Server Error | Not expected error | None |
default | Default | Error response | ErrorsResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | The string id related with one of Grupo MasOrange tenants |
templateExternalId | path | string | true | The external id of the template |
version | path | integer | true | version of the template to be updated |
body | body | UpdateTemplateRequest | true | Metadata for upgrading a template from language sections |
Request body - instance of UpdateTemplateRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
defaultLanguage | Language | false | Templates languages allowed Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED |
orderedSectionNames | OrderedSectionNames | false | list sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled |
rules | Rules | false | defines conditions rules that have to be matched in fill flags values, to allow this section to be filled |
changelog | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Version template is updated. Expected response for a valid request. | TemplateMetadata |
204 | No Content | Template updated successfully. | None |
400 | Bad Request | Request input is not valid | None |
401 | Unauthorized | Unauthorized. AuthN and AuthZ validations have fail | None |
404 | Not Found | resource not found | None |
409 | Conflict | Conflict. Resource already exits | None |
500 | Internal Server Error | Not expected error | None |
default | Default | Error response | ErrorsResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
x-auth-owner | header | string | false | The string id related with the document owner. It is mandatory when document is not public |
org_id | path | string | true | The string id related with one of Grupo MasOrange tenants |
templateExternalId | path | string | true | The external id of the template |
version | path | integer | true | version of the template to be updated |
body | body | FillTemplateDocumentsRequest | true | Metadata to fill a template |
Request body - instance of FillTemplateDocumentsRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
language | Language | true | Templates languages allowed Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED |
flagsConditions | Conditions | false | list of conditions which trigger specific sections of the template to be filled |
fieldsValues | FieldsValues | true | form variables whose values will be printed in the filled form |
name | string | false | Name of the document (without spaces). The document is renamed with this value. |
tags | Tags | false | Five free values (user-defined) to tag form. These values are normalized following the next rules: - All tags will be converted to uppercase - All whitespaces will be removed - Empty or blank tags are not allowed - Tags matching reserved words (null, undefined or nan) are not allowed |
fillMode | FillMode | false | Allowed values: ‘default’, ‘raw’ Describes character’s filter process to execute when fill a form/template: - ‘default’ (also when no value or unrecognized value): all non alfa-numeric characters are escaped and replaced by ‘?' - ‘raw’: like ‘default’ but ‘tabulation’ and ‘end of line’ characters are allowed |
flatten | Flatten | false | Describes if the filled template will be flattened or not. |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | The filled template as pdf document. Expected response to a valid request. | FillTemplateDocumentsResponse |
400 | Bad Request | Request input is not valid | None |
401 | Unauthorized | Unauthorized. AuthN and AuthZ validations have fail | None |
404 | Not Found | resource not found | None |
410 | Gone | resource is not longer available | None |
500 | Internal Server Error | Not expected error | None |
default | Default | Error response | ErrorsResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | The string id related with one of Grupo MasOrange tenants |
templateExternalId | path | string | true | The external id of the desired template |
version | path | integer | true | version of the template |
include | query | string | false | Define extra options to include in response. Values: * ‘history’: return all versions (previous minor versions) of a major template version |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | The template metadata is returned. Expected response for a valid request. | TemplateMetadataResponse |
400 | Bad Request | Request input is not valid | None |
401 | Unauthorized | Unauthorized. AuthN and AuthZ validations have fail | None |
404 | Not Found | resource not found | None |
410 | Gone | resource is not longer available | None |
500 | Internal Server Error | Not expected error | None |
default | Default | Error response | ErrorsResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | The string id related with one of Grupo MasOrange tenants |
templateExternalId | path | string | true | The external id of the desired template |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | The template changelog history is returned. Expected response for a valid request. | TemplateChangelogHistoryResponse |
400 | Bad Request | Request input is not valid | None |
401 | Unauthorized | Unauthorized. AuthN and AuthZ validations have fail | None |
404 | Not Found | resource not found | None |
410 | Gone | resource is not longer available | None |
500 | Internal Server Error | Not expected error | None |
default | Default | Error response | ErrorsResponse |
Endpoints
Documents
Forms
Sections
Templates
Templates Configuration
Digital Sign Process
Biometric Signature
Simple Signature
Identification Agent
Sign Configuration
Identification OTP
Identification with identity document
Identification Agent Admin
Identification OTP Admin
Identification with identity document Admin
Contracts
Scoring
Securize