Skip to main content
POST
/
api
/
rest
/
document_reference_specifications
Create One Document Reference Specification
curl --request POST \
  --url https://api.upwell.com/api/rest/document_reference_specifications \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "createdAt": "<unknown>",
    "customer": {},
    "customerId": "<string>",
    "formatRegex": "<string>",
    "id": "<string>",
    "name": "<string>",
    "nameRegex": "<string>",
    "tenant": {},
    "tenantId": "<string>",
    "updatedAt": "<unknown>"
  }
}
'
{
  "createDocumentReferenceSpecification": {
    "createdAt": "<unknown>",
    "customerId": "<string>",
    "formatRegex": "<string>",
    "id": "<string>",
    "name": "<string>",
    "nameRegex": "<string>",
    "tenantId": "<string>",
    "updatedAt": "<unknown>"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Body

application/json

Query parameters can also be provided in the request body as a JSON object

input
DocumentReferenceSpecificationsInsertInput Ā· object

input type for inserting data into table "document_reference_specifications"

Response

200 - application/json

Responses for POST /api/rest/document_reference_specifications

createDocumentReferenceSpecification
DocumentReferenceSpecifications Ā· object

columns and relationships of "document_reference_specifications"