{ "openapi": "3.0.1", "info": { "title": "Audatex GetDocuments API", "description": "Retrieve documents from the Audatex system.", "contact": { "name": "Audatex", "url": "http://www.audatex.us/product.asp?pageid=zContact_us" }, "license": { "name": "@Audatex North America, Inc. All rights reserved", "url": "http://www.audatex.us/" }, "version": "2.0" }, "servers": [ { "url": "/GetDocuments" } ], "paths": { "/api/v{version}/valuation/{type}/{processId}": { "get": { "tags": [ "GetValuationResponse" ], "parameters": [ { "name": "type", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "processId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "version", "in": "path", "description": "The requested API version", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ValuationDocumentResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ValuationDocumentResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ValuationDocumentResponse" } } } } } } } }, "components": { "schemas": { "ValuationDocumentResponse": { "type": "object", "properties": { "header": { "$ref": "#/components/schemas/ValuationDocumentResponseHeader" }, "body": { "$ref": "#/components/schemas/ValuationtResponseBody" } }, "additionalProperties": false }, "ValuationDocumentResponseHeader": { "type": "object", "properties": { "cid": { "type": "string", "nullable": true }, "statusCode": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ValuationtResponseBody": { "type": "object", "properties": { "createdForProfileId": { "type": "string", "nullable": true }, "imageId": { "type": "string", "nullable": true }, "attachmentId": { "type": "string", "nullable": true }, "requestNbr": { "type": "string", "nullable": true }, "extension": { "type": "string", "nullable": true }, "payload": { "type": "string", "nullable": true }, "dataType": { "type": "string", "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "oauth2": { "type": "oauth2", "flows": { "password": { "tokenUrl": "https://dispatch-login-demo.audatex.com/connect/token", "scopes": { "b2b.fnol.documents": "Audatex Assignment API Access" } } } } } }, "security": [ { "oauth2": [ "readAccess", "writeAccess" ] } ] }