{"basePath":"/v1","consumes":["application/json"],"definitions":{"Error":{"properties":{"Code":{"format":"int64","type":"integer"},"Fields":{"type":"string"},"Message":{"type":"string"}},"type":"object"}},"host":"pdf.fabric.tnxs.net:8080","info":{"contact":{"email":"noc@taxnexus.net"},"description":"PDF Delivery","license":{"name":"Proprietary - Copyright (c) 2018-2020 by Taxnexus, Inc."},"termsOfService":"http://taxnexus.net/terms/","title":"pdf","version":"1.2.6"},"paths":{"/pdfs/{pdfId}":{"get":{"description":"Return a PDF from the datastore","operationId":"getPDF","parameters":[{"description":"Taxnexus Record ID","in":"path","name":"pdfId","required":true,"type":"string"}],"produces":["application/pdf"],"responses":{"200":{"description":"A PDF file","headers":{"Content-Disposition":{"description":"Specifies download file name","type":"string"},"Content-Length":{"description":"The size of the file","format":"int32","type":"number"},"Content-Location":{"description":"The URL of the document","type":"string"}},"schema":{"type":"file"}},"401":{"$ref":"#/responses/Unauthorized"},"403":{"$ref":"#/responses/AccessForbidden"},"404":{"$ref":"#/responses/NotFound"},"422":{"$ref":"#/responses/UnprocessableEntity"},"500":{"$ref":"#/responses/ServerError"}},"summary":"Send a PDF in response to an identifier","tags":["Pdf"]}}},"produces":["application/json"],"responses":{"AccessForbidden":{"description":"Access forbidden, account lacks access","schema":{"$ref":"#/definitions/Error"}},"NotFound":{"description":"Resource was not found","schema":{"$ref":"#/definitions/Error"}},"ServerError":{"description":"Server Internal Error","schema":{"$ref":"#/definitions/Error"}},"Unauthorized":{"description":"Access Unauthorized, invalid API-KEY was used","schema":{"$ref":"#/definitions/Error"}},"UnprocessableEntity":{"description":"Unprocessable Entity, likely a bad parameter","schema":{"$ref":"#/definitions/Error"}}},"schemes":["http"],"swagger":"2.0"}
