{ "openapi": "3.0.1", "info": { "title": "Centriq C3-Suite API", "description": "The Centriq C3-Suite API provides a common interface for partner applications to manage claims related matters.", "contact": { "name": "IT Support", "url": "https://www.centriq.co.za/", "email": "itsupport@centriq.co.za" }, "version": "1.0" }, "servers": [ { "url": "/c3api" } ], "paths": { "/api/v1/complaints": { "get": { "tags": [ "Complaints" ], "summary": "Get a list of complaints.", "description": "This endpoint will return a list of complaints,\r\nthe client can optionally pass in the filter parameter for filtering,\r\nordering, paging and data shaping.", "operationId": "GetComplaints", "parameters": [ { "name": "PageNumber", "in": "query", "description": "The page number to request. The default is 1.", "schema": { "type": "integer", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "The page size to retrieve. The minimum page size is 5 and the maximum is 20.", "schema": { "type": "integer", "format": "int32" } }, { "name": "Fields", "in": "query", "description": "Allows the client to shape the data by specifying a comma delimited list of fields to be returned on the collection of objects.", "schema": { "type": "string" } }, { "name": "Filter", "in": "query", "description": "Allows the client to use rules to search and/or filter the items in the collection.", "schema": { "type": "string" } }, { "name": "Order", "in": "query", "description": "Allows the client to order the collection by specifying the ordering permutations.", "schema": { "type": "string" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "A list of requested complaints.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Complaint" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Complaint" } } } } }, "400": { "description": "Invalid complaint list request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } }, "post": { "tags": [ "Complaints" ], "summary": "Create a new complaint.", "description": "Requires complaint creation privileges.", "operationId": "CreateComplaint", "requestBody": { "description": "Complaint payload.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateComplaint" } } }, "required": true }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "201": { "description": "Complaint created.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Complaint" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/Complaint" } } } }, "400": { "description": "Invalid complaint creation request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/complaints/{complaintId}": { "get": { "tags": [ "Complaints" ], "summary": "Get a complaint.", "operationId": "GetComplaint", "parameters": [ { "name": "complaintId", "in": "path", "description": "Unique identifier for the complaint.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "The requested complaint.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Complaint" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/Complaint" } } } }, "400": { "description": "
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "Complaint not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } }, "put": { "tags": [ "Complaints" ], "summary": "Update an existing complaint.", "description": "Requires complaint update privileges.", "operationId": "UpdateComplaint", "parameters": [ { "name": "complaintId", "in": "path", "description": "Unique identifier for the complaint.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "description": "Complaint payload.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateComplaint" } } }, "required": true }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "Complaint updated.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Complaint" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/Complaint" } } } }, "400": { "description": "Invalid complaint update request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "Complaint not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } }, "/api/v1/complaints/{complaintId}/documents": { "get": { "tags": [ "ComplaintDocuments" ], "summary": "Get a list of documents for a complaint.", "operationId": "GetComplaintDocuments", "parameters": [ { "name": "complaintId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComplaintDocument" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ComplaintDocument" } } } }, "400": { "description": "Invalid document list request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } }, "post": { "tags": [ "ComplaintDocuments" ], "summary": "Upload a complaint document.", "description": "Upload a supporting document for a complaint along with associated metadata such as the file type category.\r\nThe request's content type must be set to ```multipart/form-data```.\r\nThe file size limit is 50 MB for a single upload.", "operationId": "UploadComplaintDocument", "parameters": [ { "name": "complaintId", "in": "path", "description": "Unique identifier for the complaint.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": [ "File", "FileCategoryId" ], "type": "object", "properties": { "File": { "type": "string", "description": "Supporting file for a complaint, the api supports a finite list of files types as detailed in the\r\nsupported files section.", "format": "binary", "example": "ClaimsFile.pdf" }, "FileCategoryId": { "type": "integer", "description": "File category classifies the files for uploading,the file category lookup endpoint provides a list of valid\r\ncategories to select from.", "format": "int32" } } }, "encoding": { "File": { "style": "form" }, "FileCategoryId": { "style": "form" } } } } }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComplaintDocument" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ComplaintDocument" } } } }, "400": { "description": "Invalid document upload request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/complaints/{complaintId}/documents/{documentId}": { "get": { "tags": [ "ComplaintDocuments" ], "summary": "Download a complaint document.", "operationId": "DownloadComplaintDocument", "parameters": [ { "name": "complaintId", "in": "path", "description": "Unique identifier for the complaint.", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "documentId", "in": "path", "description": "Unique identifier for the document.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } } } }, "400": { "description": "Invalid document download request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "Document not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } }, "/api/v1/lookups/businessclasses": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of business classes.", "operationId": "GetBusinessClasses", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessClass" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessClass" } } } } } } } }, "/api/v1/lookups/businessclasses/{businessClassId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single business class.", "operationId": "GetBusinessClass", "parameters": [ { "name": "businessClassId", "in": "path", "description": "Business class identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BusinessClass" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/BusinessClass" } } } }, "404": { "description": "Business Class not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid business class request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/businessclasses/{businessClassId}/businesssubclasses": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of business subclasses for a specific Business Class", "operationId": "GetBusinessClassSubClasses", "parameters": [ { "name": "businessClassId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessSubClass" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessSubClass" } } } } }, "404": { "description": "Business Class not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid business class request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/businesssubclasses": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of business subclasses.", "operationId": "GatBusinessSubClasses", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessSubClass" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessSubClass" } } } } } } } }, "/api/v1/lookups/businesssubclasses/{businessSubClassId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single business subclass.", "operationId": "GetBusinessSubClass", "parameters": [ { "name": "businessSubClassId", "in": "path", "description": "Business subclass identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessSubClass" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessSubClass" } } } } }, "404": { "description": "Business Sub Class not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid business sub class request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/businesstypes": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of all business types.", "operationId": "GetBusinessTypes", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessType" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessType" } } } } } } } }, "/api/v1/lookups/businesstypes/{businessTypeId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single business type.", "operationId": "GetBusinessType", "parameters": [ { "name": "businessTypeId", "in": "path", "description": "Business type identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BusinessType" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/BusinessType" } } } }, "404": { "description": "Business Type not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid business type request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/businesstypes/{businessTypeId}/businessclasses": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of business classes for a specific Business Type.", "operationId": "GetBusinessTypeBusinessClasses", "parameters": [ { "name": "businessTypeId", "in": "path", "description": "Business Type identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessClass" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessClass" } } } } }, "404": { "description": "Business Type not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid business type request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintcategories": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of complaint category", "operationId": "GetComplaintCategories", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintCategory" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintCategory" } } } } } } } }, "/api/v1/lookups/complaintcategories/{complaintCategoryId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint category.", "operationId": "GetComplaintCategory", "parameters": [ { "name": "complaintCategoryId", "in": "path", "description": "Complaint category identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComplaintCategory" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ComplaintCategory" } } } }, "404": { "description": "Complaint Category not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid complaint category request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintdescriptions": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of complaint Descriptions", "operationId": "GetComplaintDescriptions", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintDescription" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintDescription" } } } } } } } }, "/api/v1/lookups/complaintdescriptions/{complaintDescriptionId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint Description.", "operationId": "GetComplaintDescription", "parameters": [ { "name": "complaintDescriptionId", "in": "path", "description": "Complaint Description identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComplaintDescription" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ComplaintDescription" } } } }, "404": { "description": "Complaint Description not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid complaint description request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintfiletypes": { "get": { "tags": [ "Lookups" ], "summary": "Gets list of complaint file types.", "operationId": "GetComplaintDocumentTypes", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileType" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileType" } } } } } } } }, "/api/v1/lookups/complaintfiletypes/{fileTypeId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint file type.", "operationId": "GetComplaintDocumentType", "parameters": [ { "name": "fileTypeId", "in": "path", "description": "Complaint file type identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileType" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/FileType" } } } }, "404": { "description": "Complaint file type not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid Complaint file type request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintgroups": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of complaint group", "operationId": "GetComplaintGroups", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintGroup" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintGroup" } } } } } } } }, "/api/v1/lookups/complaintgroups/{complaintGroupId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint group.", "operationId": "GetComplaintGroup", "parameters": [ { "name": "complaintGroupId", "in": "path", "description": "Complaint group identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComplaintGroup" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ComplaintGroup" } } } }, "404": { "description": "Complaint Group not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid complaint group request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintreasons": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of complaint reasons", "operationId": "GetComplaintReasons", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintReason" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintReason" } } } } } } } }, "/api/v1/lookups/complaintreasons/{complaintReasonId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint reason.", "operationId": "GetComplaintReason", "parameters": [ { "name": "complaintReasonId", "in": "path", "description": "Complaint reason identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComplaintReason" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ComplaintReason" } } } }, "404": { "description": "Complaint Reason not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid complaint reason request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintreasons/{complaintReasonId}/complainttypes": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of ComplaintTypes for a specific Complaint Reason.", "operationId": "GetComplaintTypeReasons", "parameters": [ { "name": "complaintReasonId", "in": "path", "description": "Complaint Reason identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "complaint types request success.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintReason" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintReason" } } } } }, "404": { "description": "Complaint Reason not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid complaint reason request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintsources": { "get": { "tags": [ "Lookups" ], "summary": "Gets list of complaint sources", "operationId": "GetComplaintSources", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TypeSource" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TypeSource" } } } } } } } }, "/api/v1/lookups/complaintsources/{complaintSourceId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint source.", "operationId": "GetComplaintSource", "parameters": [ { "name": "complaintSourceId", "in": "path", "description": "Complaint source identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TypeSource" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/TypeSource" } } } }, "404": { "description": "Complaint Source not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid Complaint Source request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintsubgroups": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of complaint SubGroup", "operationId": "GetComplaintSubGroups", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintSubGroup" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintSubGroup" } } } } } } } }, "/api/v1/lookups/complaintsubgroups/{complaintSubGroupId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint SubGroup.", "operationId": "GetComplaintSubGroup", "parameters": [ { "name": "complaintSubGroupId", "in": "path", "description": "Complaint SubGroup identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComplaintSubGroup" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ComplaintSubGroup" } } } }, "404": { "description": "Complaint Sub Group not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid complaint sub group request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complaintsubstatuses": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of complaint sub-statuses.", "operationId": "GetComplaintSubStatuses", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SubStatus" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SubStatus" } } } } } } } }, "/api/v1/lookups/complaintsubstatuses/{complaintSubStatusId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint sub-status.", "operationId": "GetComplaintSubStatus", "parameters": [ { "name": "complaintSubStatusId", "in": "path", "description": "Complaint sub-status identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubStatus" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/SubStatus" } } } }, "404": { "description": "Complaint Sub-Status not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid Complaint Sub-Status request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/complainttypes": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of complaint types", "operationId": "GetComplaintTypes", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintType" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComplaintType" } } } } } } } }, "/api/v1/lookups/complainttypes/{complaintTypeId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single complaint type.", "operationId": "GetComplaintType", "parameters": [ { "name": "complaintTypeId", "in": "path", "description": "complaint type identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComplaintType" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ComplaintType" } } } }, "404": { "description": "Complaint Type not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid complaint type request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/policytypes": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of policy types.", "operationId": "GetPolicyTypes", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PolicyType" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PolicyType" } } } } } } } }, "/api/v1/lookups/policytypes/{policyTypeId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single policy types.", "operationId": "GetPolicyType", "parameters": [ { "name": "policyTypeId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PolicyType" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/PolicyType" } } } }, "404": { "description": "Policy Type not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid policy type request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/policytypes/{policyTypeId}/businessclasses": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of business classes for a specific Policy Type.", "operationId": "GetPolicyTypeBusinessClasses", "parameters": [ { "name": "policyTypeId", "in": "path", "description": "PolicyType identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessClass" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BusinessClass" } } } } }, "404": { "description": "Policy Type not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid policy type request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/policytypes/{policyTypeId}/businesstypes": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of business types for a specific Policy Type.", "operationId": "GetPolicyTypeBusinessTypes", "parameters": [ { "name": "policyTypeId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BusinessType" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/BusinessType" } } } }, "404": { "description": "Policy Type not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid policy type request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/repudiationfiletypes": { "get": { "tags": [ "Lookups" ], "summary": "Gets list of repudiation file types.", "operationId": "GetRepudiationDocumentTypes", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileType" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileType" } } } } } } } }, "/api/v1/lookups/repudiationfiletypes/{fileTypeId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single repudiation file type.", "operationId": "GetRepudiationDocumentType", "parameters": [ { "name": "fileTypeId", "in": "path", "description": "Repudiation file type identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileType" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/FileType" } } } }, "404": { "description": "Repudiation file type not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid Repudiation file type request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/repudiationreasons": { "get": { "tags": [ "Lookups" ], "summary": "Gets list of repudiation reasons", "operationId": "GetRepudiationReasons", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepudiationReason" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/RepudiationReason" } } } } } } }, "/api/v1/lookups/repudiationreasons/{repudiationReasonId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single repudiation reason.", "operationId": "GetRepudiationReason", "parameters": [ { "name": "repudiationReasonId", "in": "path", "description": "Repudiation reason identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepudiationReason" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/RepudiationReason" } } } }, "404": { "description": "Repudiation Reason not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid repudiation reason request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/repudiationsources": { "get": { "tags": [ "Lookups" ], "summary": "Gets list of repudiation sources", "operationId": "GetRepudiationSources", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TypeSource" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TypeSource" } } } } } } } }, "/api/v1/lookups/repudiationsources/{repudiationSourceId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single repudiation source.", "operationId": "GetRepudiationSource", "parameters": [ { "name": "repudiationSourceId", "in": "path", "description": "Repudiation source identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Source" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/Source" } } } }, "404": { "description": "Repudiation Source not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid Repudiation Source request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/repudiationsubstatuses": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of repudiation sub-statuses.", "operationId": "GetRepudiationSubStatuses", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SubStatus" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SubStatus" } } } } } } } }, "/api/v1/lookups/repudiationsubstatuses/{RepudiationSubStatusId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single repudiation sub-status.", "operationId": "GetRepudiationSubStatus", "parameters": [ { "name": "repudiationSubStatusId", "in": "path", "description": "Repudiation sub-status identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubStatus" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/SubStatus" } } } }, "404": { "description": "Repudiation Sub-Status not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid Repudiation Sub-Status request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/statuses": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of statuses.", "operationId": "GetStatuses", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Status" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Status" } } } } } } } }, "/api/v1/lookups/statuses/{statusId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single status.", "operationId": "GetStatus", "parameters": [ { "name": "statusId", "in": "path", "description": "Status identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Status" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/Status" } } } }, "404": { "description": "Status not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid Status request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/lookups/users": { "get": { "tags": [ "Lookups" ], "summary": "Get a list of Users.", "operationId": "GetUsersLookup", "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserMini" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserMini" } } } } } } } }, "/api/v1/lookups/users/{userId}": { "get": { "tags": [ "Lookups" ], "summary": "Get a single User.", "operationId": "GetUserLookup", "parameters": [ { "name": "userId", "in": "path", "description": "User identifier.", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserMini" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/UserMini" } } } }, "404": { "description": "User not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid user request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/repudiations": { "get": { "tags": [ "Repudiations" ], "summary": "Get a list of repudiations.", "description": "This endpoint will return a list of repudiations, the client can optionally pass in the repudiation filter\r\nparameter for filtering, ordering, paging and data shaping.", "operationId": "GetRepudiations", "parameters": [ { "name": "PageNumber", "in": "query", "description": "The page number to request. The default is 1.", "schema": { "type": "integer", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "The page size to retrieve. The minimum page size is 5 and the maximum is 20.", "schema": { "type": "integer", "format": "int32" } }, { "name": "Fields", "in": "query", "description": "Allows the client to shape the data by specifying a comma delimited list of fields to be returned on the collection of objects.", "schema": { "type": "string" } }, { "name": "Filter", "in": "query", "description": "Allows the client to use rules to search and/or filter the items in the collection.", "schema": { "type": "string" } }, { "name": "Order", "in": "query", "description": "Allows the client to order the collection by specifying the ordering permutations.", "schema": { "type": "string" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "A list of requested repudiations.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Repudiation" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Repudiation" } } } } }, "400": { "description": "Invalid repudiation list request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } }, "x-codeSamples": [ { "lang": "curl", "source": "" }, { "lang": "python", "source": "" }, { "lang": "javascript", "source": "" }, { "lang": "csharp", "source": "" } ] }, "post": { "tags": [ "Repudiations" ], "summary": "Create a new repudiation.", "description": "This creates the repudiation record and sets the status to Pending submission.To submit the repudiation the\r\nclient should use the submit endpoint.", "operationId": "CreateRepudiation", "requestBody": { "description": "Repudiation creation payload.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateRepudiation" } } }, "required": true }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "201": { "description": "Created repudiation", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Repudiation" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/Repudiation" } } } }, "400": { "description": "Invalid repudiation creation request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } }, "x-codeSamples": [ { "lang": "curl", "source": "curl -X GET \"https://api.example.com/v1/clients\" -H \"accept: application/json\"\n" }, { "lang": "python", "source": "import requests\n\nurl = 'https://api.example.com/v1/clients'\nheaders = {\n'accept': 'application/json'\n}response = requests.get(url, headers=headers)\n print(response.text)\n" }, { "lang": "javascript", "source": "fetch('https://api.example.com/v1/clients', {\n method: 'GET',\n headers: {\n 'accept': 'application/json'\n }\n})\n.then(response => response.json())\n.then(data => console.log(data));\n" }, { "lang": "csharp", "source": "using System;\nusing System.Net.Http;\nusing System.Threading.Tasks;\n\npublic class Program\n{\n public static async Task Main(string[] args)\n {\n var client = new HttpClient();\n var request = new HttpRequestMessage\n {\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://api.example.com/v1/clients\"),\n Headers =\n {\n { \"accept\", \"application/json\" },\n },\n };\n\n using (var response = await client.SendAsync(request))\n {\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n }\n }\n}\n" } ] } }, "/api/v1/repudiations/{repudiationId}": { "get": { "tags": [ "Repudiations" ], "summary": "Get a repudiation.", "operationId": "GetRepudiation", "parameters": [ { "name": "repudiationId", "in": "path", "description": "Unique identifier for the repudiation.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "The requested repudiation.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Repudiation" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/Repudiation" } } } }, "400": { "description": "
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "Repudiation not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } }, "x-codeSamples": [ { "lang": "curl", "source": "" }, { "lang": "python", "source": "" }, { "lang": "javascript", "source": "" }, { "lang": "csharp", "source": "" } ] }, "put": { "tags": [ "Repudiations" ], "summary": "Update an existing repudiation.", "description": "Requires repudiation update privileges.", "operationId": "UpdateRepudiation", "parameters": [ { "name": "repudiationId", "in": "path", "description": "Unique identifier for the repudiation.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "description": "Repudiation payload.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateRepudiation" } } }, "required": true }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "Repudiation updated.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Repudiation" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/Repudiation" } } } }, "400": { "description": "Invalid repudiation update request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "Repudiation not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } }, "x-codeSamples": [ { "lang": "curl", "source": "" }, { "lang": "python", "source": "" }, { "lang": "javascript", "source": "" }, { "lang": "csharp", "source": "" } ] } }, "/api/v1/repudiations/{repudiationId}/documents": { "get": { "tags": [ "RepudiationDocuments" ], "summary": "Get a list of documents for a repudiation.", "operationId": "GetRepudiationDocuments", "parameters": [ { "name": "repudiationId", "in": "path", "description": "Unique identifier for the repudiation.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepudiationDocument" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/RepudiationDocument" } } } }, "400": { "description": "Invalid document list request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } }, "post": { "tags": [ "RepudiationDocuments" ], "summary": "Upload a repudiation document.", "description": "Upload a supporting document for a repudiation along with associated metadata such as the file type category.\r\nThe request's content type must be set to ```multipart/form-data```.\r\nThe file size limit is 50 MB for a single upload.", "operationId": "UploadRepudiationDocument", "parameters": [ { "name": "repudiationId", "in": "path", "description": "Unique identifier for the repudiation.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": [ "File", "FileCategoryId" ], "type": "object", "properties": { "FileCategoryId": { "type": "integer", "description": "File category classifies the files for uploading,the repudiation file category lookup endpoint provides a list of valid\r\ncategories to select from.", "format": "int32" }, "File": { "type": "string", "description": "Supporting file for a claim or complaint, the api supports a finite list of files types as detailed in the\r\nsupported files section.", "format": "binary", "example": "ClaimsFile.pdf or SceneEvidence2.png" } } }, "encoding": { "FileCategoryId": { "style": "form" }, "File": { "style": "form" } } } } }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "201": { "description": "Created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepudiationDocument" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/RepudiationDocument" } } } }, "400": { "description": "Invalid document upload request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/repudiations/{repudiationId}/documents/{documentId}": { "get": { "tags": [ "RepudiationDocuments" ], "summary": "Download a repudiation document.", "operationId": "DownloadRepudiationDocument", "parameters": [ { "name": "repudiationId", "in": "path", "description": "Unique identifier for the repudiation.", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "documentId", "in": "path", "description": "Unique identifier for the document.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } } } }, "400": { "description": "Invalid document download request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "Document not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/octet-stream": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } }, "/api/v1/repudiations/{repudiationId}/process": { "put": { "tags": [ "Repudiations" ], "summary": "Submit a repudiation.", "description": "Submits a repudiation for evaluation.\\\r\nTo avoid delay in the evaluation process the client must ensure that the minimum files or documents as agreed with\r\nCentriq's for submitting a repudiation are uploaded before submitting.", "operationId": "SubmitRepudiation", "parameters": [ { "name": "repudiationId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "description": "Repudiation payload.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubmitRepudiation" } } }, "required": true }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepudiationSubmissionResult" } } } }, "400": { "description": "Invalid repudiation submission request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "Repudiation not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "204": { "description": "Repudiation submitted successfully." } } } }, "/api/v1/users": { "get": { "tags": [ "Users" ], "summary": "Get a list of users.", "description": "This endpoint will return a list of users, the client can optionally pass in the filter parameter for filtering,\r\nordering, paging and data shaping.\r\nRequires partner system administrator privileges.", "operationId": "GetUsers", "parameters": [ { "name": "PageNumber", "in": "query", "description": "The page number to request. The default is 1.", "schema": { "type": "integer", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "The page size to retrieve. The minimum page size is 5 and the maximum is 20.", "schema": { "type": "integer", "format": "int32" } }, { "name": "Fields", "in": "query", "description": "Allows the client to shape the data by specifying a comma delimited list of fields to be returned on the collection of objects.", "schema": { "type": "string" } }, { "name": "Filter", "in": "query", "description": "Allows the client to use rules to search and/or filter the items in the collection.", "schema": { "type": "string" } }, { "name": "Order", "in": "query", "description": "Allows the client to order the collection by specifying the ordering permutations.", "schema": { "type": "string" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "A list of requested users.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/User" } } }, "application/vnd.centriq.hateoas+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/User" } } } } }, "400": { "description": "Invalid user list request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } }, "post": { "tags": [ "Users" ], "summary": "Create a new user.", "description": "Requires partner system administrator privileges.", "operationId": "CreateUser", "requestBody": { "description": "User payload.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateUser" } } }, "required": true }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "201": { "description": "User created.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "400": { "description": "Invalid user creation request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } }, "/api/v1/users/{userId}": { "get": { "tags": [ "Users" ], "summary": "Get a user.", "description": "Requires partner system administrator privileges.", "operationId": "GetUser", "parameters": [ { "name": "userId", "in": "path", "description": "Unique identifier for the user.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "The requested user.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "400": { "description": "
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "User not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } }, "put": { "tags": [ "Users" ], "summary": "Update an existing user.", "description": "Requires partner system administrator privileges.", "operationId": "UpdateUser", "parameters": [ { "name": "userId", "in": "path", "description": "Unique identifier for the user.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "description": "User payload.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateUser" } } }, "required": true }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "User updated.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/User" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/User" } } } }, "400": { "description": "Invalid user update request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "User not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } }, "delete": { "tags": [ "Users" ], "summary": "Delete an existing user.", "description": "Requires partner system administrator privileges.", "operationId": "DeleteUser", "parameters": [ { "name": "userId", "in": "path", "description": "Unique identifier for the user.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "204": { "description": "User deleted." }, "404": { "description": "User not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } }, "/api/v1/users/{userId}/tasks": { "get": { "tags": [ "UserTasks" ], "summary": "Get a list of user tasks.", "description": "This endpoint will return a list of user tasks.", "operationId": "GetUserTasks", "parameters": [ { "name": "userId", "in": "path", "description": "Unique identifier for the user.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "A list of requested user tasks.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserTask" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/UserTask" } } } }, "400": { "description": "Invalid user tasks list request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "User not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } }, "post": { "tags": [ "UserTasks" ], "summary": "Complete a user task.", "operationId": "CompleteUserTask", "parameters": [ { "name": "userId", "in": "path", "description": "Unique identifier for the user.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "description": "User task payload.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompleteUserTask" } } }, "required": true }, "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "204": { "description": "User task completed." }, "400": { "description": "Invalid user task completion request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "User task not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } }, "put": { "tags": [ "UserTasks" ], "summary": "Reassign a task from one user to another.", "operationId": "ReAssignTask", "parameters": [ { "name": "userId", "in": "path", "description": "The current owner of the task.", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "taskId", "in": "query", "description": "Unique identifier for the task.", "schema": { "type": "string" } }, { "name": "reAssignUserId", "in": "query", "description": "The user to reassign the task to.", "schema": { "type": "integer", "format": "int64" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "204": { "description": "No Content" }, "400": { "description": "Invalid user task reassign request.
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } }, "404": { "description": "User task not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } }, "/api/v1/users/{userId}/tasks/{taskId}": { "get": { "tags": [ "UserTasks" ], "summary": "Open a user task.", "description": "Opens a task assigned to a user.", "operationId": "OpenUserTask", "parameters": [ { "name": "userId", "in": "path", "description": "Unique identifier for the user.", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "taskId", "in": "path", "description": "Unique identifier for the task.", "required": true, "schema": { "type": "string" } } ], "responses": { "406": { "description": "The HTTP 406 Not Acceptable client error response status code indicates that the server could not produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers and that the server was unwilling to supply a default representation.\r\n

Supported Content Types

\r\n\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "The HTTP 500 Internal Server Error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "200": { "description": "The requested user.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompleteUserTask" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/CompleteUserTask" } } } }, "404": { "description": "User task not found.The HTTP 404 Not Found client error response status code indicates that the server cannot find the requested resource.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "400": { "description": "Invalid open user tasks request.
The
HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.\r\nClients that receive a 400 response should expect that repeating the request without modification will fail with the same error.\r\n", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } }, "application/vnd.centriq.hateoas+json": { "schema": { "$ref": "#/components/schemas/ValidationProblemDetails" } } } } } } } }, "components": { "schemas": { "BusinessClass": { "type": "object", "properties": { "businessType": { "$ref": "#/components/schemas/BusinessType" }, "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true }, "policyType": { "$ref": "#/components/schemas/PolicyType" } }, "additionalProperties": false, "description": "The class of business." }, "BusinessSubClass": { "type": "object", "properties": { "businessClass": { "$ref": "#/components/schemas/BusinessClass" }, "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "The business subclass." }, "BusinessType": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true }, "policyType": { "$ref": "#/components/schemas/PolicyType" } }, "additionalProperties": false, "description": "The type of business." }, "Complaint": { "required": [ "complaintSource", "description", "receivedDate" ], "type": "object", "properties": { "businessClass": { "$ref": "#/components/schemas/BusinessClass" }, "businessSubClass": { "$ref": "#/components/schemas/BusinessSubClass" }, "businessType": { "$ref": "#/components/schemas/BusinessType" }, "capturedBy": { "type": "string", "description": "The client user who captured or the submitted the incident.", "nullable": true }, "capturedDate": { "type": "string", "description": "The date the incident was captured.", "format": "date-time" }, "claimAmount": { "type": "number", "description": "The claim amount. The amount must be greater than zero.", "format": "double" }, "claimNumber": { "type": "string", "description": "The claim number is a unique identifying code or number assigned by the client to the claim.", "nullable": true, "example": "CLM0898H8S25" }, "clientReferenceNumber": { "type": "string", "description": " Reference number other than claim number if applicable\r\nExample broker claim number.", "nullable": true }, "complaintCategory": { "$ref": "#/components/schemas/ComplaintCategory" }, "complaintHandler": { "$ref": "#/components/schemas/UserMini" }, "complaintId": { "type": "integer", "description": "The unique identifier of the complaint.", "format": "int64" }, "complaintNumber": { "type": "string", "description": "Centriq's unique business identifier or reference number for the complaint, this is autogenerated.", "nullable": true, "example": "PLUM001-6752" }, "complaintSource": { "$ref": "#/components/schemas/Source" }, "complaintType": { "$ref": "#/components/schemas/ComplaintType" }, "createdBy": { "type": "string", "description": "The user who initially created the record.", "nullable": true }, "createdDate": { "type": "string", "description": "The date the record was created.", "format": "date-time" }, "description": { "minLength": 1, "type": "string", "description": "The description of the complaint." }, "dueDate": { "type": "string", "description": "The date by which the complaint must be resolved.", "format": "date-time", "nullable": true }, "excessAmount": { "type": "number", "description": "The excess amount.", "format": "double", "nullable": true }, "finalCommunicationDate": { "type": "string", "description": "The date on which last communication was sent to the complainant.", "format": "date-time", "nullable": true }, "followUpDate": { "type": "string", "description": "The date by which the complaint must be followed up on.", "format": "date-time", "nullable": true }, "linkedComplaint": { "$ref": "#/components/schemas/Complaint" }, "linkedRepudiation": { "$ref": "#/components/schemas/Repudiation" }, "modifiedBy": { "type": "string", "description": "The user who last modified the record.", "nullable": true }, "modifiedDate": { "type": "string", "description": "The date the record was last modified.", "format": "date-time" }, "outcome": { "type": "string", "description": "The final outcome of the complaint.", "nullable": true }, "partyEmail": { "type": "string", "description": "The email for the complainant or complainant.", "nullable": true, "example": "adam@plumtree.co.za" }, "partyName": { "type": "string", "description": "The name of the claimant or complainant.", "nullable": true, "example": "Adam Plumtree" }, "policyNumber": { "type": "string", "description": "The policy number.", "nullable": true, "example": "PLC8908098Y7" }, "policyType": { "$ref": "#/components/schemas/PolicyType" }, "premiumAmount": { "type": "number", "description": "The premium amount.", "format": "double", "nullable": true }, "receivedDate": { "type": "string", "description": "The date the complaint was received or reported to the client.", "format": "date-time", "example": "2024-02-25" }, "remedialAction": { "type": "string", "description": "The remedial actions suggested.", "nullable": true }, "resolvedDate": { "type": "string", "description": "The date on which the final decision was made on the complaint.", "format": "date-time", "nullable": true }, "responsibleDepartment": { "type": "string", "description": "The department responsible for handling the claim.", "nullable": true }, "responsibleUser": { "type": "string", "description": "The user responsible for handling the claim.", "nullable": true }, "settlementAmount": { "type": "number", "description": "The settlement amount.", "format": "double", "nullable": true }, "status": { "$ref": "#/components/schemas/Status" }, "subStatus": { "$ref": "#/components/schemas/SubStatus" } }, "additionalProperties": false }, "ComplaintCategory": { "type": "object", "properties": { "complaintDescription": { "$ref": "#/components/schemas/ComplaintDescription" }, "complaintGroup": { "$ref": "#/components/schemas/ComplaintGroup" }, "complaintSubgroup": { "$ref": "#/components/schemas/ComplaintSubGroup" }, "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ComplaintDescription": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ComplaintDocument": { "type": "object", "properties": { "complaintId": { "type": "integer", "description": "Associated complaint record for the file.", "format": "int64" }, "createdBy": { "type": "string", "description": "The user who initially created the record.", "nullable": true }, "createdDate": { "type": "string", "description": "The date the record was created.", "format": "date-time" }, "downloadLink": { "type": "string", "nullable": true }, "extension": { "type": "string", "nullable": true }, "fileType": { "$ref": "#/components/schemas/FileType" }, "id": { "type": "integer", "description": "The unique identifier of the record.", "format": "int64" }, "modifiedBy": { "type": "string", "description": "The user who last modified the record.", "nullable": true }, "modifiedDate": { "type": "string", "description": "The date the record was last modified.", "format": "date-time" }, "name": { "type": "string", "nullable": true }, "size": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ComplaintGroup": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ComplaintReason": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ComplaintSubGroup": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ComplaintType": { "type": "object", "properties": { "complaintReason": { "$ref": "#/components/schemas/ComplaintReason" }, "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "CompleteUserTask": { "required": [ "completionDetails", "taskId", "taskType" ], "type": "object", "properties": { "actions": { "type": "array", "items": { "type": "string" }, "description": "Allowed actions for the task.", "nullable": true, "readOnly": true }, "completionDetails": { "$ref": "#/components/schemas/CompleteUserTaskData" }, "details": { "type": "string", "description": "Comments or instructions for completing the task.", "nullable": true, "example": "Please attach the policy schedule and repudiation letter." }, "taskId": { "minLength": 1, "type": "string", "description": "Unique identifier for the task", "example": "23343" }, "taskType": { "minLength": 1, "type": "string", "description": "Indicates the task type." } }, "additionalProperties": false }, "CompleteUserTaskData": { "required": [ "selectedAction" ], "type": "object", "properties": { "comments": { "type": "string", "nullable": true }, "selectedAction": { "minLength": 1, "type": "string", "description": "The action selected to complete the task." } }, "additionalProperties": false }, "CreateComplaint": { "required": [ "businessClassId", "businessSubClassId", "businessTypeId", "clientReferenceNumber", "complaintHandlerId", "complaintSourceId", "complaintTypeId", "description", "followUpDate", "partyEmail", "partyName", "policyNumber", "policyTypeId", "receivedDate" ], "type": "object", "properties": { "businessClassId": { "type": "integer", "description": "The class of business.", "format": "int32" }, "businessSubClassId": { "type": "integer", "description": "The business subclass.", "format": "int32" }, "businessTypeId": { "type": "integer", "description": "The type of business.", "format": "int32" }, "claimAmount": { "type": "number", "description": "The claim amount.", "format": "double" }, "claimNumber": { "type": "string", "description": "Claim Number", "nullable": true, "example": "CLM0898H8S25" }, "clientReferenceNumber": { "minLength": 1, "type": "string", "description": "Partner complaint reference number." }, "complaintCategoryId": { "type": "integer", "description": "Complaint category as defined by TCF (Treating Customers Fairly) model.", "format": "int32", "nullable": true }, "complaintHandlerId": { "type": "integer", "description": "The ID of the client's complaints handler registered at Centriq.", "format": "int64" }, "complaintSourceId": { "type": "integer", "description": "The origin or source of the complaint.", "format": "int32" }, "complaintTypeId": { "type": "integer", "description": "The type of complaint being registered.", "format": "int32" }, "description": { "minLength": 1, "type": "string", "description": "The description or the complaint." }, "dueDate": { "type": "string", "description": "The date by which the complaint must be resolved.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "excessAmount": { "type": "number", "description": "The excess amount.", "format": "double", "nullable": true }, "finalCommunicationDate": { "type": "string", "description": "The date on which last communication was sent to the complainant.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "followUpDate": { "type": "string", "description": "The date by which the complaint must be followed up on.", "format": "date-time", "example": "2024-02-25" }, "linkedComplaintId": { "type": "integer", "description": "Another complaint linked to this complaint.", "format": "int64", "nullable": true }, "linkedQueryId": { "type": "integer", "description": "A query linked to this complaint.", "format": "int64", "nullable": true }, "linkedRepudiationId": { "type": "integer", "description": "A repudiation linked to this complaint.", "format": "int64", "nullable": true }, "outcome": { "type": "string", "description": "The final outcome of the complaint.", "nullable": true }, "partyEmail": { "minLength": 1, "type": "string", "description": "The email for the complainant or complainant.", "example": "adam@plumtree.co.za" }, "partyName": { "minLength": 1, "type": "string", "description": "The name of the claimant or complainant.", "example": "Adam Plumtree" }, "policyNumber": { "minLength": 1, "type": "string", "description": "The policy number.", "example": "PLC8908098Y7" }, "policyTypeId": { "type": "integer", "description": "Life (Long term) or Non Life (Short Term).", "format": "int32" }, "premiumAmount": { "type": "number", "description": "The premium amount.", "format": "double", "nullable": true }, "receivedDate": { "type": "string", "description": "The date the complaint was received or reported to the client.", "format": "date-time", "example": "2024-02-25" }, "remedialAction": { "type": "string", "description": "The remedial actions suggested.", "nullable": true }, "resolvedDate": { "type": "string", "description": "The date on which the final decision was made on the complaint.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "responsibleDepartment": { "type": "string", "description": "The department responsible for handling the claim.", "nullable": true }, "responsibleUser": { "type": "string", "description": "The user responsible for handling the claim.", "nullable": true }, "settlementAmount": { "type": "number", "description": "The settlement amount.", "format": "double", "nullable": true } }, "additionalProperties": false }, "CreateRepudiation": { "required": [ "businessClassId", "businessSubClassId", "businessTypeId", "claimNumber", "dateOfLoss", "description", "followUpDate", "partyEmail", "partyName", "policyNumber", "policyTypeId", "receivedDate", "repudiationAmount", "repudiationReasonId", "repudiationSourceId" ], "type": "object", "properties": { "businessClassId": { "type": "integer", "description": "The class of business.", "format": "int32" }, "businessSubClassId": { "type": "integer", "description": "The business subclass.", "format": "int32" }, "businessTypeId": { "type": "integer", "description": "The type of business.", "format": "int32" }, "claimNumber": { "minLength": 1, "type": "string", "description": "Claim Number", "example": "CLM0898H8S25" }, "clientReferenceNumber": { "type": "string", "description": "Reference number other than claim number if applicable\r\nExample broker claim number.", "nullable": true }, "dateOfLoss": { "type": "string", "description": "The date of incident.", "format": "date-time", "example": "2024-02-25" }, "description": { "minLength": 1, "type": "string", "description": "The description of the repudiation." }, "dueDate": { "type": "string", "description": "The date a response is due to the Claimant.", "format": "date-time", "nullable": true }, "followUpDate": { "type": "string", "description": "Option to diarise to follow up with Centriq.", "format": "date-time" }, "numberOfMonths": { "type": "integer", "description": "Number of Months, this field is required for credit life business classes.", "format": "int32" }, "partyEmail": { "minLength": 1, "type": "string", "description": "The email for the claimant.", "example": "adam@plumtree.co.za" }, "partyName": { "minLength": 1, "type": "string", "description": "The name of the claimant.", "example": "Adam Plumtree" }, "policyInceptionDate": { "type": "string", "description": "The date the policy incepted.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "policyNumber": { "minLength": 1, "type": "string", "description": "The policy number.", "example": "PLC8908098Y7" }, "policyTypeId": { "type": "integer", "description": "Life (Long term) or Non Life (Short Term).", "format": "int32" }, "receivedDate": { "type": "string", "description": "The date the incident was received by the partner.", "format": "date-time", "example": "2024-02-25" }, "repudiationAmount": { "type": "number", "description": "The claimed amount i.e. sum assured", "format": "double" }, "repudiationDate": { "type": "string", "description": "The date of the repudiation letter.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "repudiationReasonId": { "type": "integer", "description": "The reason for repudiating the claim.", "format": "int32" }, "repudiationSourceId": { "type": "integer", "description": "The origin or source of the repudiation.", "format": "int32" }, "zeroRepudiationAmountReason": { "type": "string", "description": "Reason for a zero repudiation amount.\r\n\r\n Required if the repudiation amount is zero.\r\n", "nullable": true } }, "additionalProperties": false }, "CreateUser": { "required": [ "displayName", "email" ], "type": "object", "properties": { "displayName": { "minLength": 1, "type": "string", "description": "The name and surname of the user.", "example": "Adam Plumtree" }, "email": { "minLength": 1, "type": "string", "description": "The email address of the user.", "format": "email", "example": "adam@plumtree.co.za" } }, "additionalProperties": false }, "FileType": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PolicyType": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Life (Long term) or Non Life (Short Term)." }, "ProblemDetails": { "type": "object", "properties": { "detail": { "type": "string", "nullable": true }, "instance": { "type": "string", "nullable": true }, "status": { "type": "integer", "format": "int32", "nullable": true }, "title": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true } }, "additionalProperties": { } }, "Repudiation": { "required": [ "repudiationId" ], "type": "object", "properties": { "autoRepudiated": { "type": "boolean", "description": "Indicates if the claim was automatically repudiated by the API - this is only for clients with an auto repudiation\r\nmandate.\r\nAuto repudiated claim don't go through the normal evaluation process, but are evaluated by the system automatically\r\nbased on set permutations by Centriq.", "nullable": true }, "businessClass": { "$ref": "#/components/schemas/BusinessClass" }, "businessSubClass": { "$ref": "#/components/schemas/BusinessSubClass" }, "businessType": { "$ref": "#/components/schemas/BusinessType" }, "capturedBy": { "type": "string", "description": "The client user who captured or the submitted the repudiation.", "nullable": true }, "capturedDate": { "type": "string", "description": "The date the repudiation was captured.", "format": "date-time" }, "claimNumber": { "type": "string", "description": "The claim number is a unique identifying code or number assigned by the client to the claim.", "nullable": true, "example": "CLM0898H8S25" }, "claimPaid": { "type": "boolean", "description": "Indicates whether the claim has been paid to the policyholder.\r\nThis field is required or set once the repudiation has been rejected/overturned by Centriq's claims team during the\r\nrepudiation evaluation process(doesn't apply to auto repudiations) and the client\r\nhas to indicate where the claim has been paid." }, "clientReferenceNumber": { "type": "string", "description": " Reference number other than claim number if applicable\r\nExample broker claim number.", "nullable": true }, "createdBy": { "type": "string", "description": "The user who initially created the record.", "nullable": true }, "createdDate": { "type": "string", "description": "The date the record was created.", "format": "date-time" }, "dateOfLoss": { "type": "string", "description": "The date of incident.", "format": "date-time", "nullable": true }, "description": { "type": "string", "description": "Description of the merits of the claim.", "nullable": true }, "dueDate": { "type": "string", "format": "date-time", "nullable": true }, "followUpDate": { "type": "string", "format": "date-time", "nullable": true }, "modifiedBy": { "type": "string", "description": "The user who last modified the record.", "nullable": true }, "modifiedDate": { "type": "string", "description": "The date the record was last modified.", "format": "date-time" }, "numberOfMonths": { "type": "integer", "description": "Number of Months, this field is required for credit life business classes.", "format": "int32" }, "partyEmail": { "type": "string", "description": "The email for the complainant or complainant.", "nullable": true, "example": "adam@plumtree.co.za" }, "partyName": { "type": "string", "description": "The name of the claimant or complainant.", "nullable": true, "example": "Adam Plumtree" }, "policyInceptionDate": { "type": "string", "description": "The date the policy incepted.", "format": "date-time" }, "policyNumber": { "type": "string", "description": "The policy number.", "nullable": true, "example": "PLC8908098Y7" }, "policyType": { "$ref": "#/components/schemas/PolicyType" }, "receivedDate": { "type": "string", "description": "The date the claim was received by the claimant.", "format": "date-time", "nullable": true }, "repudiationAmount": { "type": "number", "description": "The claimed amount i.e. sum assured", "format": "double" }, "repudiationDate": { "type": "string", "description": "The date of the repudiation letter.", "format": "date-time", "nullable": true }, "repudiationId": { "type": "integer", "description": "The unique identifier of the repudiation.", "format": "int64" }, "repudiationLetterSent": { "type": "boolean", "description": "Indicates or confirms whether the rejection letter was sent to the policyholder.\r\nThis field is required or set once the repudiation has been approved by Centriq's claims team during the\r\nrepudiation evaluation process (doesn't apply to auto repudiations) and the client\r\nhas to indicate that the letter was sent to the policyholder." }, "repudiationNumber": { "type": "string", "description": "Centriq's unique business identifier or reference number for the repudiation, this is autogenerated.", "nullable": true, "example": "PLUM001-6752" }, "repudiationProcessId": { "type": "integer", "description": "Repudiation evaluation processId.", "format": "int64", "nullable": true }, "repudiationReason": { "$ref": "#/components/schemas/RepudiationReason" }, "repudiationSource": { "$ref": "#/components/schemas/Source" }, "settlementAmount": { "type": "number", "description": "The amount paid or will be paid to settle the claim.\r\nThis field is required or set once the repudiation has been rejected/overturned by Centriq's claims team during the\r\nrepudiation evaluation process(doesn't apply to auto repudiations) and the client has agreed with the overturn\r\ndecision and ready to pay the claim.", "format": "double", "nullable": true }, "status": { "$ref": "#/components/schemas/Status" }, "subStatus": { "$ref": "#/components/schemas/SubStatus" }, "zeroRepudiationAmountReason": { "type": "string", "description": "Reason for a zero repudiation amount.\r\n\r\n Required if the repudiation amount is zero.\r\n", "nullable": true } }, "additionalProperties": false }, "RepudiationDocument": { "type": "object", "properties": { "createdBy": { "type": "string", "description": "The user who initially created the record.", "nullable": true }, "createdDate": { "type": "string", "description": "The date the record was created.", "format": "date-time" }, "downloadLink": { "type": "string", "nullable": true }, "extension": { "type": "string", "nullable": true }, "fileType": { "$ref": "#/components/schemas/FileType" }, "id": { "type": "integer", "description": "The unique identifier of the record.", "format": "int64" }, "modifiedBy": { "type": "string", "description": "The user who last modified the record.", "nullable": true }, "modifiedDate": { "type": "string", "description": "The date the record was last modified.", "format": "date-time" }, "name": { "type": "string", "nullable": true }, "repudiationId": { "type": "integer", "description": "Associated repudiation record for the file.", "format": "int64" }, "size": { "type": "string", "nullable": true } }, "additionalProperties": false }, "RepudiationReason": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "The reason for repudiating the claim." }, "RepudiationSubmissionResult": { "type": "object", "properties": { "autoRepudiationFile": { "$ref": "#/components/schemas/RepudiationDocument" }, "isAutoRepudiated": { "type": "boolean" }, "message": { "type": "string", "nullable": true }, "repudiationId": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "Source": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "The origin or source of the incident." }, "Status": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "The status of the incident." }, "SubStatus": { "type": "object", "properties": { "disabled": { "type": "boolean", "nullable": true }, "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true }, "status": { "$ref": "#/components/schemas/Status" } }, "additionalProperties": false, "description": "The sub-status of the incident." }, "SubmitRepudiation": { "required": [ "businessClassId", "businessSubClassId", "businessTypeId", "claimNumber", "clientReferenceNumber", "description", "followUpDate", "partyEmail", "partyName", "policyNumber", "policyTypeId", "receivedDate", "repudiationAmount", "repudiationReasonId", "repudiationSourceId" ], "type": "object", "properties": { "businessClassId": { "type": "integer", "description": "The class of business.", "format": "int32" }, "businessSubClassId": { "type": "integer", "description": "The business subclass.", "format": "int32" }, "businessTypeId": { "type": "integer", "description": "The type of business.", "format": "int32" }, "claimNumber": { "minLength": 1, "type": "string", "description": "Claim Number", "example": "CLM0898H8S25" }, "clientReferenceNumber": { "minLength": 1, "type": "string", "description": "Reference number other than claim number if applicable\r\nExample broker claim number." }, "dateOfLoss": { "type": "string", "description": "The date of incident.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "description": { "minLength": 1, "type": "string", "description": "The description of the repudiation." }, "dueDate": { "type": "string", "description": "The date a response is due to the Claimant.", "format": "date-time", "nullable": true }, "followUpDate": { "type": "string", "description": "Option to diarise to follow up with Centriq.", "format": "date-time" }, "numberOfMonths": { "type": "integer", "description": "Number of Months.", "format": "int32" }, "partyEmail": { "minLength": 1, "type": "string", "description": "The email for the claimant.", "example": "adam@plumtree.co.za" }, "partyName": { "minLength": 1, "type": "string", "description": "The name of the claimant.", "example": "Adam Plumtree" }, "policyInceptionDate": { "type": "string", "description": "The date the policy incepted.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "policyNumber": { "minLength": 1, "type": "string", "description": "The policy number.", "example": "PLC8908098Y7" }, "policyTypeId": { "type": "integer", "description": "Life (Long term) or Non Life (Short Term).", "format": "int32" }, "receivedDate": { "type": "string", "description": "The date the incident was received by the partner.", "format": "date-time", "example": "2024-02-25" }, "repudiationAmount": { "type": "number", "description": "The claimed amount i.e. sum assured", "format": "double" }, "repudiationDate": { "type": "string", "description": "The date of the repudiation letter.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "repudiationReasonId": { "type": "integer", "description": "The reason for repudiating the claim.", "format": "int32" }, "repudiationSourceId": { "type": "integer", "description": "The origin or source of the repudiation.", "format": "int32" }, "zeroRepudiationAmountReason": { "type": "string", "description": "Reason for a zero repudiation amount.\r\n\r\n Required if the repudiation amount is zero.\r\n", "nullable": true } }, "additionalProperties": false }, "TypeSource": { "type": "object", "properties": { "createdBy": { "type": "string", "description": "The user who initially created the record.", "nullable": true }, "createdDate": { "type": "string", "description": "The date the record was created.", "format": "date-time" }, "id": { "type": "integer", "description": "The unique identifier of the record.", "format": "int64" }, "incidentSourceId": { "type": "integer", "format": "int32" }, "incidentTypeId": { "type": "integer", "format": "int32" }, "modifiedBy": { "type": "string", "description": "The user who last modified the record.", "nullable": true }, "modifiedDate": { "type": "string", "description": "The date the record was last modified.", "format": "date-time" } }, "additionalProperties": false }, "UpdateComplaint": { "required": [ "businessClassId", "businessSubClassId", "businessTypeId", "clientReferenceNumber", "complaintHandlerId", "complaintSourceId", "complaintTypeId", "description", "followUpDate", "partyEmail", "partyName", "policyNumber", "policyTypeId", "receivedDate", "statusId", "subStatusId" ], "type": "object", "properties": { "businessClassId": { "type": "integer", "description": "The class of business.", "format": "int32" }, "businessSubClassId": { "type": "integer", "description": "The business subclass.", "format": "int32" }, "businessTypeId": { "type": "integer", "description": "The type of business.", "format": "int32" }, "claimAmount": { "type": "number", "description": "The claim amount. The amount must be greater than zero.", "format": "double" }, "claimNumber": { "type": "string", "description": "Claim Number", "nullable": true, "example": "CLM0898H8S25" }, "clientReferenceNumber": { "minLength": 1, "type": "string", "description": "Reference number other than claim number if applicable\r\nExample broker claim number." }, "complaintCategoryId": { "type": "integer", "description": "Complaint category as defined by TCF (Treating Customers Fairly) model.", "format": "int32", "nullable": true }, "complaintHandlerId": { "type": "integer", "description": "The ID of the client's complaints handler registered at Centriq.", "format": "int64" }, "complaintSourceId": { "type": "integer", "description": "The origin or source of the complaint.", "format": "int32" }, "complaintTypeId": { "type": "integer", "description": "The type of complaint being registered.", "format": "int32" }, "description": { "minLength": 1, "type": "string", "description": "The description or the complaint." }, "dueDate": { "type": "string", "description": "The date by which the complaint must be resolved.", "format": "date-time", "nullable": true }, "excessAmount": { "type": "number", "description": "The excess amount.", "format": "double", "nullable": true }, "finalCommunicationDate": { "type": "string", "description": "The date on which last communication was sent to the complainant.", "format": "date-time", "nullable": true }, "followUpDate": { "type": "string", "description": "The date by which the complaint must be followed up on.", "format": "date-time" }, "linkedComplaintId": { "type": "integer", "description": "Another complaint linked to this complaint.", "format": "int64", "nullable": true }, "linkedQueryId": { "type": "integer", "description": "A query linked to this complaint.", "format": "int64", "nullable": true }, "linkedRepudiationId": { "type": "integer", "description": "A repudiation linked to this complaint.", "format": "int64", "nullable": true }, "outcome": { "type": "string", "description": "The final outcome of the complaint.", "nullable": true }, "partyEmail": { "minLength": 1, "type": "string", "description": "The email for the complainant or complainant.", "example": "adam@plumtree.co.za" }, "partyName": { "minLength": 1, "type": "string", "description": "The name of the claimant or complainant.", "example": "Adam Plumtree" }, "policyNumber": { "minLength": 1, "type": "string", "description": "The policy number.", "example": "PLC8908098Y7" }, "policyTypeId": { "type": "integer", "description": "Life (Long term) or Non Life (Short Term).", "format": "int32" }, "premiumAmount": { "type": "number", "description": "The premium amount.", "format": "double", "nullable": true }, "receivedDate": { "type": "string", "description": "The date the complaint was received or reported to the client.", "format": "date-time", "example": "2024-02-25" }, "remedialAction": { "type": "string", "description": "The remedial actions suggested.", "nullable": true }, "resolvedDate": { "type": "string", "description": "The date on which the final decision was made on the complaint.", "format": "date-time", "nullable": true }, "responsibleDepartment": { "type": "string", "description": "The department responsible for handling the claim.", "nullable": true }, "responsibleUser": { "type": "string", "description": "The user responsible for handling the claim.", "nullable": true }, "settlementAmount": { "type": "number", "description": "The settlement amount.", "format": "double", "nullable": true }, "statusId": { "type": "integer", "description": "The status of the incident.", "format": "int32" }, "subStatusId": { "type": "integer", "description": "The sub-status of the incident, this is cascaded by the status depending on whether it's open or closed.", "format": "int32" } }, "additionalProperties": false }, "UpdateRepudiation": { "required": [ "businessClassId", "businessSubClassId", "businessTypeId", "claimNumber", "clientReferenceNumber", "description", "followUpDate", "partyEmail", "partyName", "policyNumber", "policyTypeId", "receivedDate", "repudiationAmount", "repudiationReasonId", "repudiationSourceId" ], "type": "object", "properties": { "businessClassId": { "type": "integer", "description": "The class of business.", "format": "int32" }, "businessSubClassId": { "type": "integer", "description": "The business subclass.", "format": "int32" }, "businessTypeId": { "type": "integer", "description": "The type of business.", "format": "int32" }, "claimNumber": { "minLength": 1, "type": "string", "description": "Claim Number", "example": "CLM0898H8S25" }, "clientReferenceNumber": { "minLength": 1, "type": "string", "description": "Reference number other than claim number if applicable\r\nExample broker claim number." }, "dateOfLoss": { "type": "string", "description": "The date of incident.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "description": { "minLength": 1, "type": "string", "description": "The description of the repudiation." }, "dueDate": { "type": "string", "description": "The date a response is due to the Claimant.", "format": "date-time", "nullable": true }, "followUpDate": { "type": "string", "description": "Option to diarise to follow up with Centriq.", "format": "date-time" }, "numberOfMonths": { "type": "integer", "description": "Number of Months.", "format": "int32" }, "partyEmail": { "minLength": 1, "type": "string", "description": "The email for the claimant.", "example": "adam@plumtree.co.za" }, "partyName": { "minLength": 1, "type": "string", "description": "The name of the claimant.", "example": "Adam Plumtree" }, "policyInceptionDate": { "type": "string", "description": "The date the policy incepted.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "policyNumber": { "minLength": 1, "type": "string", "description": "The policy number.", "example": "PLC8908098Y7" }, "policyTypeId": { "type": "integer", "description": "Life (Long term) or Non Life (Short Term).", "format": "int32" }, "receivedDate": { "type": "string", "description": "The date the incident was received by the partner.", "format": "date-time", "example": "2024-02-25" }, "repudiationAmount": { "type": "number", "description": "The claimed amount i.e. sum assured", "format": "double" }, "repudiationDate": { "type": "string", "description": "The date of the repudiation letter.", "format": "date-time", "nullable": true, "example": "2024-02-25" }, "repudiationReasonId": { "type": "integer", "description": "The reason for repudiating the claim.", "format": "int32" }, "repudiationSourceId": { "type": "integer", "description": "The origin or source of the repudiation.", "format": "int32" }, "zeroRepudiationAmountReason": { "type": "string", "description": "Reason for a zero repudiation amount.\r\n\r\n Required if the repudiation amount is zero.\r\n", "nullable": true } }, "additionalProperties": false }, "UpdateUser": { "required": [ "displayName", "email" ], "type": "object", "properties": { "displayName": { "minLength": 1, "type": "string", "description": "The name and surname of the user.", "example": "Adam Plumtree" }, "email": { "minLength": 1, "type": "string", "description": "The email address of the user.", "format": "email", "example": "adam@plumtree.co.za" } }, "additionalProperties": false }, "User": { "required": [ "displayName", "email", "key", "userName" ], "type": "object", "properties": { "createdBy": { "type": "string", "description": "The user who initially created the record.", "nullable": true }, "createdDate": { "type": "string", "description": "The date the record was created.", "format": "date-time" }, "displayName": { "minLength": 1, "type": "string", "description": "The name and surname of the user.", "example": "Adam Plumtree" }, "email": { "minLength": 1, "type": "string", "description": "The email address of the user.", "format": "email", "example": "adam@plumtree.co.za" }, "id": { "type": "integer", "description": "The unique identifier of the record.", "format": "int64" }, "key": { "minLength": 1, "type": "string", "description": "The unique key of the record." }, "modifiedBy": { "type": "string", "description": "The user who last modified the record.", "nullable": true }, "modifiedDate": { "type": "string", "description": "The date the record was last modified.", "format": "date-time" }, "userName": { "minLength": 1, "type": "string", "description": "The username.", "example": "adam@plumtree.co.za" } }, "additionalProperties": false }, "UserMini": { "required": [ "displayName", "email", "id" ], "type": "object", "properties": { "displayName": { "minLength": 1, "type": "string", "description": "The name and surname of the user.", "example": "Adam Plumtree" }, "email": { "minLength": 1, "type": "string", "description": "The email address of the user.", "format": "email", "example": "adam@plumtree.co.za" }, "id": { "type": "integer", "description": "The unique identifier of the record.", "format": "int64" } }, "additionalProperties": false }, "UserTask": { "type": "object", "properties": { "actions": { "type": "array", "items": { "type": "string" }, "description": "Allowed actions for the task.", "nullable": true, "readOnly": true }, "description": { "type": "string", "description": "Description of the task.", "nullable": true, "example": "Partner to provide more information or documentation for claims evaluation." }, "name": { "type": "string", "description": "Name of the task", "nullable": true, "example": "Partner more information task." }, "processId": { "type": "integer", "description": "Process identifier.", "format": "int64" }, "startDate": { "type": "string", "description": "Task start date.", "format": "date-time", "example": "" }, "taskId": { "type": "string", "description": "Unique identifier for the task", "nullable": true, "example": "2343" }, "taskType": { "type": "string", "description": "Indicates the task type.", "nullable": true }, "user": { "$ref": "#/components/schemas/UserMini" } }, "additionalProperties": false }, "ValidationProblemDetails": { "type": "object", "properties": { "detail": { "type": "string", "nullable": true }, "errors": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "nullable": true }, "instance": { "type": "string", "nullable": true }, "status": { "type": "integer", "format": "int32", "nullable": true }, "title": { "type": "string", "nullable": true }, "type": { "type": "string", "nullable": true } }, "additionalProperties": { } } }, "securitySchemes": { "Bearer": { "type": "http", "description": "Bearer Authorization header value. Enter [access-token], example: abcAccessTokenXyz", "scheme": "Bearer", "bearerFormat": "JWT" }, "Cen-Authorization User": { "type": "apiKey", "description": "User Cen-Authorization header value. Enter [user-key], example: abcUserKeyXyz", "name": "Cen-Authorization", "in": "header" } } }, "security": [ { "Bearer": [ ], "Cen-Authorization User": [ ] } ], "tags": [ { "name": "Application Registration", "description": "
\r\n
\r\n

\r\n The API is secured by authentication. Partners requiring interaction between their applications and the API must first enroll their applications with Centriq\r\n to obtain a unique set of credentials.\r\n

\r\n
\r\n
\r\n

Step 1: Obtaining API credentials

\r\n

\r\n Please send an email to your Client Manager or Claims Team requesting that your application be registered\r\n to use the API. Your request must contain the following information:\r\n

\r\n

\r\n

\r\n Once your request is received and approved, you will be contacted by our IT Support Team who will issue you\r\n with the following application credentials:\r\n

\r\n These credentials only need to be applied for once, are specific to your Partner client application, and must be kept private at all times.\r\n Please refer to the Authorization section on how to use these credentials in your application to make requests to the API.\r\n

\r\n
\r\n
\r\n" }, { "name": "Authentication", "description": "
\r\n
\r\n

\r\n The API uses the OAuth2 client credentials grant flow to authenticate and authorize Partner client applications. Please ensure that you\r\n have obtained a valid Client ID and Client Secret (refer to Application Registration) before continuing to the next section.\r\n

\r\n
\r\n
\r\n

Step 1: Request an Access Token

\r\n

\r\n The client application must request an access token from the Gateway Authentication Service Provider before any endpoints can be called. The following\r\n section explains how to set up, request and receive an access token.\r\n

\r\n

Set up the request headers

\r\n \r\n

Set up the request body

\r\n \r\n

Send the request

\r\n

\r\n POST the request to the /token endpoint to receive an access token. On success, \r\n you will receive an access token (access_token) with a predefined token lifetime (expires_in) expressed \r\n in seconds. You will need to request a new token when the token has expired.\r\n

\r\n
\r\n

Example: Token Request

\r\n \r\n
\r\nPOST /token\r\nAccept: application/json\r\nContent-Type: application/x-www-form-urlencoded\r\ngrant_type=client_credentials&client_id=YourClientID&client_secret=YourClientSecret&scope=default\r\n
\r\n
\r\n

Example: JSON Object Response (authenticated)

\r\n \r\n
\r\n{\r\n    \"access_token\": \"abcAccessTokenXyz\",\r\n    \"token_type\": \"Bearer\",\r\n    \"expires_in\": 86399\r\n}\r\n
\r\n
\r\n
\r\n

Server responses

\r\n \r\n
\r\n
\r\n

Step 2: Request an API Resource

\r\n

\r\n In addition to an access token, the API requires a valid user key to make authorized calls to API resources. \r\n This key identifies which user is performing the requests and grants the necessary permissions to complete the requests, for example, \r\n an application administrator user or a complaint handler. A default application administrator user key would have been issued to you \r\n when your application was initially enrolled with Centriq and can be used to maintain your organization's list of users.\r\n

\r\n

Set up the request headers

\r\n \r\n

Send the request

\r\n

\r\n Make a call to the required endpoint.\r\n

\r\n
\r\n

Example: Resource Request

\r\n \r\n
\r\nGET /complaints\r\nAuthorization: Bearer abcAccessTokenXyz\r\nCen-Authorization: abcUserKeyXyz\r\nAccept: application/json\r\n
\r\n
\r\n
\r\n

Server responses

\r\n \r\n
\r\n
\r\n" }, { "name": "HTTP Methods", "description": "
\r\n
\r\n

\r\n Access to resources must be done using the appropriate HTTP method.\r\n HTTP methods are used to indicate the action an API client would like to perform on a given resource.\r\n Each HTTP method maps to a specific operation, such as creating, reading, updating, or deleting a resource,\r\n and an HTTP method must be included with every request to a REST API.\r\n

\r\n
\r\n
\r\n

Supported HTTP Methods

\r\n

\r\n The API currently supports the following HTTP methods:\r\n

\r\n \r\n
\r\n
\r\n" }, { "name": "Rate Limits", "description": "
\r\n
\r\n

\r\n Rate limiting is a technique used to control the rate at which requests are made to a network, server, or other resource and\r\n is used to prevent excessive or abusive use of a resource and to ensure that the resource is available to all users. \r\n

\r\n

\r\n The C3 API therefore applies rate limiting to ensure that maximum stability and uptime is maintained for all users to execute and receive\r\n responses from the API.\r\n

\r\n
\r\n

Current Rate Limit

\r\n

\r\n Rate limits are expressed as the number of requests per hour, minute or second. The current rate limit for all requests made to the API is \r\n 1000 requests per minute.\r\n

\r\n
\r\n" }, { "name": "Content Negotiation", "description": "
\r\n
\r\n

\r\n The API supports multiple media types to provide flexibility in how responses are formatted.\r\n The default media type is application/json. Additionally, Centriq-specific types using\r\n Hypermedia As The Engine of Application State (HATEOAS) are also supported.\r\n

\r\n
\r\n
\r\n

Supported Response Media Types

\r\n

\r\n The Content-Type header is used to indicate the original media type of the resource prior to any content\r\n encoding applied before transmission. In responses, the Content-Type header informs the client about the media type\r\n of the returned data. In requests such as POST or PUT, the client uses the Content-Type header to specify the type of\r\n content being sent to the server.\r\n

\r\n

\r\n The client must specify the desired request/response format using the Content-Type header in the API request.\r\n If the Content-Type header is not provided or contains an invalid content type, the API will\r\n return a 415 Unsupported Media Type error. The following Media types are supported:\r\n

\r\n \r\n
\r\n
\r\n

Supported Request Media Types

\r\n

\r\n The Accept header indicates which content types, expressed as media types, the client is able to understand.\r\n The server uses content negotiation to select one of the proposals and informs the client of the choice with the\r\n Content-Type response header.\r\n

\r\n

\r\n The client must specify the desired response format using the Accept header in the API request.\r\n If the Accept header is not provided or contains an invalid media type, the API will\r\n return a 406 Not Acceptable error. The following media types are supported:\r\n

\r\n \r\n
\r\n

Example: Default Request

\r\n \r\n
\r\nGET /lookups/PolicyTypes/1\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nAccept: application/json\r\n
\r\n
\r\n

Example: JSON Object Response (default)

\r\n \r\n
\r\n{\r\n  \"id\": 1,\r\n  \"name\": \"Short Term\",\r\n  \"disabled\": false\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

HATEOAS

\r\n

\r\n Hypermedia As The Engine of Application State (HATEOAS) is a mechanism whereby an API describes how it can be used by providing\r\n URLs to other allowed actions in its responses. To return HATEOAS links in responses, use \r\n the application/vnd.centriq.hateoas+json request media type.\r\n

\r\n
\r\n

Example: HATEOAS Request

\r\n \r\n
\r\nGET /lookups/PolicyTypes/1\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nAccept: application/vnd.centriq.hateoas+json\r\n
\r\n
\r\n

Example: JSON Object Response (including HATEOAS links)

\r\n \r\n
\r\n{\r\n  \"id\": 1,\r\n  \"name\": \"Short Term\",\r\n  \"disabled\": false,\r\n  \"links\": [\r\n    {\r\n      \"href\": \"https://sample.com/api/v1/lookups/policytypes/1\",\r\n      \"method\": \"GET\",\r\n      \"rel\": \"self\"\r\n    },\r\n    {\r\n      \"href\": \"https://sample.com/api/v1/lookups/policytypes/1/businesstypes\",\r\n      \"method\": \"GET\",\r\n      \"rel\": \"getpolicytypebusinesstypes\"\r\n    }\r\n  ]\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" }, { "name": "Data Shaping", "description": "
\r\n
\r\n

\r\n Data shaping is a feature that allows clients to reduce the amount of data transferred from the API to the client by selecting only the\r\n fields (columns) they need.\r\n

\r\n

\r\n

\r\n

\r\n
\r\n
\r\n

Shaping Data With Fields

\r\n

\r\n To shape the data, include the fields parameter in the query string of your request. Only the specified fields will be \r\n returned in the response.\r\n

\r\n
\r\n

Example: Requesting Specific Fields

\r\n \r\n
\r\nGET /repudiations?fields=repudiationId,repudiationNumber\r\nAccept: application/json\r\n
\r\n
\r\n
\r\n
\r\n

Example: JSON Object Response

\r\n \r\n
\r\n{\r\n    \"repudiationId\": 123456,\r\n    \"repudiationNumber\": \"PLU001-1234\",\r\n    \"policyType\": {\r\n        \"id\": 1,\r\n        \"name\": \"Short Term\",\r\n        \"disabled\": false\r\n    }\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Invalid Fields and Limitations

\r\n

\r\n If the client attempts to shape on fields that are not available on the main resource object, a 400 Bad Request error\r\n will be returned indicating which fields are invalid.\r\n

\r\n

\r\n Data shaping is only supported for top-level fields. If an object contains a sub object, such as policyType in the\r\n following example, specifying these sub-fields like policyType.Id will not work and a 400 Bad Request error\r\n will be returned.\r\n

\r\n
\r\n

Example: Requesting Invalid Fields

\r\n \r\n
\r\nGET /repudiations?fields=repudiationId,repudiationNumber,policyType.Id\r\nAccept: application/json\r\n
\r\n
\r\n
\r\n
\r\n

Example: JSON Object Response

\r\n \r\n
\r\nHTTP/1.1 400 Bad Request\r\nContent-Type: application/json\r\n{\r\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\r\n    \"title\": \"Invalid filter parameters request.\",\r\n    \"status\": 400,\r\n    \"detail\": \"Invalid request information for ordering, filtering and/or field selection.\",\r\n    \"instance\": \"/repudiations\",\r\n    \"errors\": [\r\n        \"Field 'policyType.id' from the provided fields (repudiationId,repudiationNumber,policyType.Id) is not part of the requested object's fields\"\r\n    ]\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" }, { "name": "Filtering, Ordering and Paging", "description": "
\r\n
\r\n

\r\n Filtering, ordering and paging (or fopping) is a feature that allows clients to manipulate the data transferred from the API to the client by\r\n reducing, sorting or returning the data (rows) in manageable chunks. This is done through various query string parameters.\r\n

\r\n
\r\n
\r\n

Filtering

\r\n

\r\n To filter the data, include the filter parameter followed by the fields and logical operators in the query string of your\r\n request. Only the items matching the specified filter rules will be returned in the response.\r\n

\r\n

\r\n

\r\n

\r\n

Filter Operators

\r\n

\r\n

\r\n

\r\n

Logical Operators

\r\n

\r\n

\r\n

\r\n

Separators

\r\n

\r\n

\r\n

\r\n
\r\n

Ordering

\r\n

\r\n To order the data, include the order parameter followed by the field and order operator in the query string of your request.\r\n The items will be ordered by the field and returned in the response.\r\n

\r\n

\r\n

    \r\n
  • order Allows the client to order the collection by specifying the ordering permutations.
  • \r\n
\r\n

\r\n

Order Operators

\r\n

\r\n The default sort order is ascending. To sort in descending order, use ;desc after the field.\r\n Currently, only a single order field is supported.\r\n

\r\n
\r\n

Example:

\r\n \r\n
\r\nFilter: filter=complaintNumber~=PLU001;claimNumber_=test;and$capturedBy>=2024-08-10&order=capturedBy;desc\r\nEquivalent: (complaintNumber LIKE '%PLU001%' AND claimNumber LIKE 'test%') OR (capturedBy >= '20240810') ORDER BY capturedBy DESC\r\n\r\nFilter: filter=complaintNumber~=PLU001;claimNumber_=test;and$capturedBy>=2024-08-10&order=capturedBy\r\nEquivalent: (complaintNumber LIKE '%PLU001%' AND claimNumber LIKE 'test%') OR (capturedBy >= '20240810') ORDER BY capturedBy ASC\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Paging

\r\n

\r\n To return the data in manageable chunks, include the pageNumber and pageSize parameters in the query string\r\n of your request. Tip: use the HATEOAS media type to include paging information in the x-pagination header\r\n and navigation links in the data responses.\r\n

\r\n

\r\n

    \r\n
  • pageNumber The page number to request. The default is 1.
  • \r\n
  • pageSize The page size to retrieve. The minimum page size is 5 and the maximum is 20.
  • \r\n
\r\n

\r\n
\r\n

Example: HATEOAS Request

\r\n \r\n
\r\nGET /complaints?pagenumber=5&pagesize=15&fields=complaintId,complaintNumber\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nAccept: application/vnd.centriq.hateoas+json\r\n
\r\n
\r\n
\r\n
\r\n

Example: Response Header (including paging information)

\r\n \r\n
\r\napi-supported-versions: 1.0\r\ncontent-length: 64806\r\ncontent-type: application/vnd.centriq.hateoas+json; charset=utf-8\r\ndate: Wed,28 Aug 2024 06:56:44 GMT\r\nx-pagination: {\"totalCount\":120,\"pageSize\":15,\"currentPage\":5,\"totalPages\":12,\"hasNext\":true,\"hasPrevious\":true} \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Example: JSON Object Response (including HATEOAS links)

\r\n \r\n
\r\n{\r\n\t\"value\": [\r\n        ...\r\n\t],\r\n\t\"links\": [\r\n\t\t{\r\n\t\t\t\"href\": \"https://sample.com/api/v1/complaints?pageNumber=5&pageSize=15&fields=complaintId,complaintNumber\",\r\n\t\t\t\"method\": \"GET\",\r\n\t\t\t\"rel\": \"self\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"href\": \"https://sample.com/api/v1/complaints?pageNumber=4&pageSize=15&fields=complaintId,complaintNumber\",\r\n\t\t\t\"method\": \"GET\",\r\n\t\t\t\"rel\": \"previousPage\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"href\": \"https://sample.com/api/v1/complaints?pageNumber=6&pageSize=15&fields=complaintId,complaintNumber\",\r\n\t\t\t\"method\": \"GET\",\r\n\t\t\t\"rel\": \"nextPage\"\r\n\t\t}\r\n\t]\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Invalid Fields and Limitations

\r\n

\r\n If the client attempts to fop on fields that are not available on the main resource object, a 400 Bad Request error\r\n will be returned indicating which fields are invalid.\r\n

\r\n

\r\n Fopping is only supported for top-level fields. If an object contains a sub object, such as policyType in the\r\n following example, specifying these sub-fields like policyType.Id will not work and a 400 Bad Request error\r\n will be returned.\r\n

\r\n
\r\n

Example: Requesting Invalid Fields

\r\n \r\n
\r\nGET /repudiations?fields=repudiationId,repudiationNumber,policyType.Id\r\nAccept: application/json\r\n
\r\n
\r\n
\r\n
\r\n

Example: JSON Object Response

\r\n \r\n
\r\nHTTP/1.1 400 Bad Request\r\nContent-Type: application/json\r\n{\r\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\r\n    \"title\": \"Invalid filter parameters request.\",\r\n    \"status\": 400,\r\n    \"detail\": \"Invalid request information for ordering, filtering and/or field selection.\",\r\n    \"instance\": \"/repudiations\",\r\n    \"errors\": [\r\n        \"Field 'policyType.id' from the provided fields (repudiationId,repudiationNumber,policyType.Id) is not part of the requested object's fields\"\r\n    ]\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" }, { "name": "Documents", "description": "
\r\n
\r\n

\r\n The API supports uploading and downloading of documents for repudiations and complaints.\r\n

\r\n
\r\n
\r\n

Uploading Files

\r\n

\r\n Supporting documents can only be uploaded and linked once a repudiation or complaint has been created.\r\n File uploading is performed asynchronously and must be uploaded using the multipart/form-data content-type header.\r\n Any files larger than 50MB will be rejected during the upload process. Multiple files must be uploaded one request at a time.\r\n Use the following pattern to upload a file and set its metadata properties:\r\n

\r\n
\r\n

Example: File Upload Request

\r\n \r\n
\r\nPOST /complaints/1234/documents\r\nContent-Type: multipart/form-data; boundary=--------------------------335103822890214364100610\r\nAccept: application/json\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nContent-Length: 15357\r\n----------------------------335103822890214364100610\r\nContent-Disposition: form-data; name=\"File\"; filename=\"photo.jpg\"\r\n<photo.jpg>\r\n----------------------------335103822890214364100610\r\nContent-Disposition: form-data; name=\"FileCategoryId\"\r\n16\r\n----------------------------335103822890214364100610--\r\n
\r\n
\r\n

Example: JSON Object Response (default)

\r\n \r\n
\r\n{\r\n  \"complaintId\": 1234,\r\n  \"fileType\": {\r\n    \"disabled\": false,\r\n    \"id\": 16,\r\n    \"name\": \"Other\"\r\n  },\r\n  \"name\": \"photo.jpg\",\r\n  \"size\": \"15035\",\r\n  \"extension\": \".jpg\",\r\n  \"downloadLink\": \"https://sample.com/api/v1/complaints/1234/documents/12345\",\r\n  \"id\": 12345,\r\n  \"createdBy\": \"adam@plumtree.co.za\",\r\n  \"createdDate\": \"2024-08-27 11:21:20\",\r\n  \"modifiedBy\": \"adam@plumtree.co.za\",\r\n  \"modifiedDate\": \"2024-08-27 11:21:20\"\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Supported File Formats

\r\n

\r\n The C3-Suite system currently supports the files formats listed below. Any other file formats not approved by Centriq will be rejected\r\n during upload. Should you need to submit a file format that is not in this list please contact\r\n IT Support for assistance.\r\n

\r\n

\r\n

\r\n

\r\n
\r\n
\r\n

Downloading Files

\r\n

\r\n Repudiation or complaint documents will be downloaded in the format originally uploaded in. Use the application/octet-stream\r\n accept header to download the file. Multiple files must be downloaded one request at a time. Use the following pattern\r\n to download a file:\r\n

\r\n
\r\n

Example: File Download Request

\r\n \r\n
\r\nGET /complaints/1234/documents/12345\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nAccept: application/octet-stream\r\n
\r\n
\r\n

Example: Header Response

\r\n \r\n
\r\n api-supported-versions: 1.0 \r\n content-disposition: attachment; filename=\"photo.jpg\"; filename*=UTF-8''photo.jpg \r\n content-length: 15035 \r\n content-type: image/jpeg \r\n date: Tue,27 Aug 2024 08:26:21 GMT \r\n 
\r\n
\r\n
\r\n
\r\n
\r\n" }, { "name": "Repudiation Process", "description": "
\r\n

\r\n In a case where a claim is disputed or repudiated by a partner, the claim should be referred to Centriq for further evaluation. The picture below\r\n shows the established evaluation process that is followed by Centriq's claim team to thoroughly review the claim according to predefined\r\n criteria before a final decision is made.\r\n \"Repudiation\r\n

\r\n

\r\n To submit a repudiation for evaluation, the client application must use the Submit a repudiation endpoint.\r\n The client must ensure that all the required information and documents are\r\n provided before submission so that the evaluation process can run seamlessly.\r\n

\r\n
\r\n

Repudiation Process Tasks

\r\n

\r\n The client will be required to complete various tasks to facilitate the repudiation process to\r\n completion. Tasks will be assigned to the client user who captured the repudiation. Below is a list of tasks at which user intervention\r\n will be required from client users during the repudiation evaluation process.\r\n

\r\n

\r\n

\r\n

\r\n
\r\n
\r\n" }, { "name": "User Tasks", "description": "
\r\n

\r\n User tasks are actionable items assigned through various processes or workflows exposed by the Api that require the partner user to take\r\n certain decisions as part of the respective process. The repudiation evaluation process is an example\r\n of a process that involves user tasks to aid in the successful completion of the evaluation process.\r\n

\r\n
\r\n

Step 1: Get a list of user tasks

\r\n

\r\n When working with user tasks, the client application must first retrieve a list of tasks for a specific user using the\r\n \"Get a list of user tasks\" endpoint as shown in the example below.\r\n

\r\n
\r\n

Example: Get User Tasks

\r\n \r\n
\r\nGET /users/1234/tasks\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nAccept: application/json\r\n
\r\n
\r\n

Example: Response

\r\n \r\n
\r\n {\r\n    \"value\": [\r\n        {\r\n            \"taskId\": \"12340987\",\r\n            \"name\": \"More Information Required\",\r\n            \"description\": \"Additional information has been requested by the Claims Department to process a repudiation for Claim number CLM12345, Party John Doe.\",\r\n            \"taskType\": \"RepudiationMoreInformation\",\r\n            \"startDate\": \"2024-09-10 11:39:55\",\r\n            \"actions\": [\r\n                \"Route back to Claims\"\r\n            ],\r\n            \"processId\": 1234,\r\n            \"user\": {\r\n                \"displayName\": \"John Doe\",\r\n                \"email\": \"john.doe@clientcompany.com\",\r\n                \"id\": 1234\r\n            }\r\n        }\r\n    ]\r\n}\r\n 
\r\n
\r\n
\r\n
\r\n
\r\n

Step 2: Open a user task

\r\n

\r\n The user must open the task to view the instructions using the \"Open a user task\" endpoint as\r\n shown in the example below.\r\n

\r\n
\r\n

Example: Open User Task

\r\n \r\n
\r\nGET /users/1234/tasks/12340987\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nAccept: application/json\r\n
\r\n
\r\n

Example: Response

\r\n \r\n
\r\n{\r\n    \"actions\": [\r\n        \"Route back to Claims\"\r\n    ],\r\n    \"details\": \"Please attach the policy schedule and repudiation letter.\",\r\n    \"taskId\": \"12340987\",\r\n    \"taskType\": \"RepudiationMoreInformation\"\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Step 3: Complete a user task

\r\n

\r\n Once the user has completed the instructions assigned, the task can then be completed by providing any comments as well as the action to be performed.\r\n Use the \"Complete a user task\" endpoint as shown in the example below.\r\n

\r\n
\r\n

Example: Complete User Task

\r\n \r\n
\r\nPOST /users/1234/tasks/12340987\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nAccept: application/json\r\nContent-Type: application/json\r\n{\r\n    \"completionDetails\": {\r\n        \"comments\": \"Please see attached policy schedule and repudiation letter.\",\r\n        \"selectedAction\": \"Route back to Claims\"\r\n    },\r\n    \"details\": \"Please attach the policy schedule and repudiation letter.\",\r\n    \"taskId\": \"12340987\",\r\n    \"taskType\": \"RepudiationMoreInformation\"\r\n}\r\n
\r\n
\r\n

Example: Response

\r\n \r\n
\r\nHTTP/1.1 204 No Content\r\nContent-Type: application/json\r\n{\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

OR

\r\n

Reassign a user task to another user

\r\n

\r\n Sometimes, a user may not be available or the appropriate person to action a task. In such cases, the user can reassign the task to another user\r\n to action. Use the \"Reassign a task from one user to another\" endpoint as shown in the example below.\r\n

\r\n
\r\n

Example: Reassign User Task

\r\n \r\n
\r\nPUT /users/1234/tasks/12340987?reassignUserId=5678\r\nAuthorization: Bearer {access-token}\r\nCen-Authorization: {user-key}\r\nAccept: application/json\r\n
\r\n
\r\n

Example: Response

\r\n \r\n
\r\nHTTP/1.1 204 No Content\r\nContent-Type: application/json\r\n{\r\n}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" }, { "name": "Complaints", "description": "Create, retrieve, update and search for complaints." }, { "name": "Repudiations", "description": "Create,retrieve,update and submit repudiations for evaluation." }, { "name": "Users", "description": "Create, retrieve, update and search for users. Requires partner system administrator privileges." }, { "name": "UserTasks", "description": "Retrieve and complete tasks for the current user." }, { "name": "Lookups", "description": "Retrieve a collection of lookup objects or search for a lookup object by ID.Lookup information is maintained by\r\nCentriq." }, { "name": "ComplaintDocuments", "description": "Create and retrieve complaint documents." }, { "name": "RepudiationDocuments", "description": "Create and retrieve repudiation documents." } ], "x-tagGroups": [ { "name": "Getting Started ", "tags": [ "Application Registration", "Authentication" ] }, { "name": "Reference", "tags": [ "HTTP Methods", "Rate Limits", "Content Negotiation", "Data Shaping", "Filtering, Ordering and Paging", "Documents", "Repudiation Process", "User Tasks" ] }, { "name": "API Endpoints", "tags": [ "Complaints", "ComplaintDocuments", "Lookups", "Repudiations", "RepudiationDocuments", "Users", "UserTasks" ] } ] }