{"openapi":"3.0.2","info":{"title":"Measurement Canada Online Reporting Application (ORA)","version":"v1","description":"\u003cp\u003eThe Online Reporting Application (ORA) APIs enable the Authorized Service Providers (ASPs) to submit work orders to generate device examination certificates. Using the endpoints, the API user can query and update establishment and device records, merge and close establishments, transfer devices etc.\u003cbr/\u003e\u003cbr/\u003eThe API groups below allow the user to:\u003col\u003e\u003cli\u003eManage establishments\u003c/li\u003e\u003cli\u003eManage examinations\u003c/li\u003e\u003cli\u003eRetrieve code table information\u003c/li\u003e\u003cli\u003eRetrieve error code related details\u003c/li\u003e\u003c/ol\u003e\u003cp\u003eTo start using the ORA API endpoints, a user must follow the following steps:\u003c/p\u003e\u003col\u003e\u003cli\u003eRegister as an API Catalogue user\u003c/li\u003e\u003cli\u003eSubscribe to the Online Reporting Application (ORA) API\u003c/li\u003e\u003cli\u003eRegister as an \u003ca href='https://www.ic.gc.ca/app/scr/mc/mgmt/secure/dashboard.html'\u003eOnline Reporting Application\u003c/a\u003e (ORA) user\u003c/li\u003e\u003c/ol\u003e\u003cp\u003eYour ORA API registration will need to be approved by the API administrator. Upon approval, you will be provided a \u003cstrong\u003euser-key\u003c/strong\u003e. Add this as a user-key header parameter to your API calls to authenticate.\u003c/p\u003e\u003cp\u003eFor more information about the Authorized service provider program, please consult \u003ca href='https://ised-isde.canada.ca/site/measurement-canada/en/authorized-service-providers'\u003eMeasurement Canada\u003c/a\u003e.\u003c/p\u003e","contact":{"name":"Measurement Canada","url":"https://ised-isde.canada.ca/site/measurement-canada/en/authorized-service-providers","email":"ora-adel@ised-isde.gc.ca"}},"servers":[{"url":"https://apigateway-passerelledapi.ised-isde.canada.ca/mc-ora-adel","description":"Production server"},{"url":"https://apigateway-passerelledapi.ised-isde.canada.ca/mc-ora-adel-test","description":"Test server"}],"paths":{"/v1/establishments/{establishmentNo}":{"get":{"tags":["establishments"],"parameters":[{"name":"establishmentNo","description":"Establishment ID","schema":{"format":"int32","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«EstablishmentResource»"}}},"description":"OK"},"404":{"description":"Not found"}},"operationId":"getEstablishmentUsingGET","summary":"Retrieve an establishment","description":"This method allows you to retrieve one establishment based on its ID.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-009\u003c/td\u003e\u003ctd\u003eThe establishment does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/establishments":{"get":{"tags":["establishments"],"parameters":[{"name":"city","description":"City","schema":{"type":"string"},"in":"query","required":false},{"name":"name","description":"Name","schema":{"type":"string"},"in":"query","required":false},{"name":"postalCode","description":"Postal code","schema":{"type":"string"},"in":"query","required":false},{"name":"provinceCode","description":"Province code","schema":{"type":"string"},"in":"query","required":false},{"name":"street","description":"Address","schema":{"type":"string"},"in":"query","required":false},{"name":"telephone","description":"Telephone","schema":{"type":"string"},"in":"query","required":false}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«EstablishmentResources»"}}},"description":"OK"},"400":{"description":"Bad request"},"404":{"description":"Not found"}},"operationId":"getEstablishmentsUsingGET","summary":"Search for establishments","description":"This method allows you to retrieve all establishments based on information provided in the search criteria.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-001\u003c/td\u003e\u003ctd\u003eThe establishment name must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-002\u003c/td\u003e\u003ctd\u003eThe street must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-003\u003c/td\u003e\u003ctd\u003eThe city must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-004\u003c/td\u003e\u003ctd\u003eThe province code is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-005\u003c/td\u003e\u003ctd\u003eThe postal code must be entered in the A9A 9A9 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-006\u003c/td\u003e\u003ctd\u003eYou must specify at least one search criterion to perform a search.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-007\u003c/td\u003e\u003ctd\u003eToo many establishments found.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-008\u003c/td\u003e\u003ctd\u003eNo establishment found.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-101\u003c/td\u003e\u003ctd\u003eThe telephone number must be entered in the 123-456-7890 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"},"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestEstablishmentCreationForm"}}},"required":true},"tags":["establishments"],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«CreateEstablishmentResponseResource»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"createEstablismentUsingPOST","summary":"Submit an establishment creation request","description":"This method allows ASPs to submit establishment creation requests.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-004\u003c/td\u003e\u003ctd\u003eThe province code is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-021\u003c/td\u003e\u003ctd\u003eYou must specify a recognized technician ID.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-022\u003c/td\u003e\u003ctd\u003eThe format of the recognized technician ID is not valid. Please enter it in the following format: A12345678.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-023\u003c/td\u003e\u003ctd\u003eThe recognized technician ID specified does not correspond to a technician from your organization.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-024\u003c/td\u003e\u003ctd\u003eThe recognized technician ID you have entered was assigned to a recognized technician who is currently not authorized to examine any of this establishment's devices.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-086\u003c/td\u003e\u003ctd\u003eThe contact person's email address - [{0}] is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-092\u003c/td\u003e\u003ctd\u003eYou must specify a legal name.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-093\u003c/td\u003e\u003ctd\u003eYou must specify a banner.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-094\u003c/td\u003e\u003ctd\u003eYou must specify a city.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-095\u003c/td\u003e\u003ctd\u003eYou must specify a province.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-096\u003c/td\u003e\u003ctd\u003eYou must specify a postal code.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-097\u003c/td\u003e\u003ctd\u003eYou must specify a telephone number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-099\u003c/td\u003e\u003ctd\u003eThe postal code must be entered in the A9A 9A9 format and must start with a character that corresponds to the province or territory.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-100\u003c/td\u003e\u003ctd\u003eThe Postal code is not valid for the province specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-101\u003c/td\u003e\u003ctd\u003eThe telephone number must be entered in the 123-456-7890 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-103\u003c/td\u003e\u003ctd\u003eYou must limit your comment to {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-104\u003c/td\u003e\u003ctd\u003eYou must limit the directions to {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-105\u003c/td\u003e\u003ctd\u003eThe banner specified is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-157\u003c/td\u003e\u003ctd\u003eYou must specify an address.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-163\u003c/td\u003e\u003ctd\u003eStandardized comment must be specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-164\u003c/td\u003e\u003ctd\u003eYou must enter a comment when \"Other (please specify)\" is selected.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-201\u003c/td\u003e\u003ctd\u003eThe address cannot be validated. Please verify it and submit again.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-215\u003c/td\u003e\u003ctd\u003eThe commentTextId can only be 1, 2, 8, or 9.  In case of 9, please use the comments field for any customized comments. \u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-216\u003c/td\u003e\u003ctd\u003eORA was unable to validate this address and has generated a token in the \"addressToken\" field. Please verify the address and if it is correct, resubmit the same request and include the token in the \"addressValidationToken\" field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-223\u003c/td\u003e\u003ctd\u003eORA has found similar establishments, which are indicated in the \"similarEstablishments\" field. If you still want to create the establishment, resubmit the same request and include the token in the \"similarEstablishmentToken\" field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-225\u003c/td\u003e\u003ctd\u003eAddress validation service is not available. Please try again later.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-235\u003c/td\u003e\u003ctd\u003eThe notes must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/establishments/{establishmentNo}/devices":{"get":{"tags":["establishments"],"parameters":[{"name":"establishmentNo","description":"Establishment ID","schema":{"format":"int32","type":"integer"},"in":"path","required":true},{"name":"technicianUserId","description":"Technician ID","schema":{"type":"string"},"in":"query","required":false}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«EstablishmentDeviceResources»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"getEstablishmentDevicesUsingGET","summary":"Retrieve an establishment's devices","description":"This method allows you to retrieve all devices based on the establishment number.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-009\u003c/td\u003e\u003ctd\u003eThe establishment does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-010\u003c/td\u003e\u003ctd\u003eThe technician ID is invalid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/establishments/devices/{serialNumber}":{"get":{"tags":["establishments"],"parameters":[{"name":"approvalNumber","description":"Device approval number","schema":{"type":"string"},"in":"query","required":false},{"name":"secondaryApprovalNumber","description":"Device secondary approval number","schema":{"type":"string"},"in":"query","required":false},{"name":"secondarySerialNumber","description":"Device secondary serial number","schema":{"type":"string"},"in":"query","required":false},{"name":"serialNumber","description":"Device serial number","schema":{"type":"string"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«EstablishmentDeviceResources»"}}},"description":"OK"},"404":{"description":"Not found"}},"operationId":"getEstablishmentDevicesBySerialUsingGET","summary":"Retrieve devices by serial number","description":"This method allows you to retrieve devices based on a serial number.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-168\u003c/td\u003e\u003ctd\u003eNo device found.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/establishments/closure":{"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestEstablishmentClosureForm"}}},"required":true},"tags":["establishments"],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"closeEstablismentUsingPOST","summary":"Submit an establishment closure request","description":"This method allows ASPs to submit establishment closure requests.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e 400-174\u003c/td\u003e\u003ctd\u003eThe Establishment number is mandatory. \u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-014\u003c/td\u003e\u003ctd\u003eA request to merge the establishment is pending.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-015\u003c/td\u003e\u003ctd\u003eA request to close the establishment is pending.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-016\u003c/td\u003e\u003ctd\u003eThe technician cannot be found.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-021\u003c/td\u003e\u003ctd\u003eYou must specify a recognized technician ID.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-022\u003c/td\u003e\u003ctd\u003eThe format of the recognized technician ID is not valid. Please enter it in the following format: A12345678.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-103\u003c/td\u003e\u003ctd\u003eYou must limit your comment to {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-163\u003c/td\u003e\u003ctd\u003eStandardized comment must be specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-171\u003c/td\u003e\u003ctd\u003eThe commentTextId can only be 6, 7, 8, or 9.  In case of 9, please use the comments field for any customized comments. \u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-219\u003c/td\u003e\u003ctd\u003eYou must enter a comment when sending a request to close an establishment.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/establishments/merge":{"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestEstablishmentMergerForm"}}},"required":true},"tags":["establishments"],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"mergeEstablishmentsUsingPOST","summary":"Submit an establishment merge request","description":"This method allows ASPs to submit establishment merge requests.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-016\u003c/td\u003e\u003ctd\u003eThe technician cannot be found.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-021\u003c/td\u003e\u003ctd\u003eYou must specify a recognized technician ID.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-022\u003c/td\u003e\u003ctd\u003eThe format of the recognized technician ID is not valid. Please enter it in the following format: A12345678.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-103\u003c/td\u003e\u003ctd\u003eYou must limit your comment to {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-178\u003c/td\u003e\u003ctd\u003eThe commentTextId can only be 5, 8, or 9.  In case of 9, please use the comments field for any customized comments. \u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-179\u003c/td\u003e\u003ctd\u003eThe establishment that will remain open does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-180\u003c/td\u003e\u003ctd\u003eThe following establishment(s) that will be closed does (do) not exist: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-181\u003c/td\u003e\u003ctd\u003eYou must enter a comment when sending a request to merge establishments.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-182\u003c/td\u003e\u003ctd\u003eThe list of establishments that will be closed cannot contain the ID number of an establishment that will remain open.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-183\u003c/td\u003e\u003ctd\u003eThe ID number of the establishment that will remain open is required. \u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-184\u003c/td\u003e\u003ctd\u003eThe number(s) of the establishment(s) that will be closed is (are) required and must not contain null as a value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-185\u003c/td\u003e\u003ctd\u003ePrior to merging establishments, all open work orders for these establishments must be closed. Please contact the ORA System Administrator.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-217\u003c/td\u003e\u003ctd\u003eA request to merge the following establishment(s) is pending: [{0}].\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-218\u003c/td\u003e\u003ctd\u003eA request to close the following establishment(s) is pending: [{0}].\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/establishments/transferDevices":{"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestTransferDeviceForm"}}},"required":true},"tags":["establishments"],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"transferDevicesUsingPOST","summary":"Submit a device transfer request","description":"This method allows ASPs to submit device transfer requests.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-009\u003c/td\u003e\u003ctd\u003eThe establishment does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-073\u003c/td\u003e\u003ctd\u003eThe name of the {0} contact person must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-074\u003c/td\u003e\u003ctd\u003eThe title of the {0} contact must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-076\u003c/td\u003e\u003ctd\u003eThe email address of the {0} contact must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-077\u003c/td\u003e\u003ctd\u003eDelivery preference [{0}] is invalid. Specify 1 for email.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-078\u003c/td\u003e\u003ctd\u003eThe language preference [{0}] is invalid. Specify E or F.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-187\u003c/td\u003e\u003ctd\u003eThe receiving establishment ID must be specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-188\u003c/td\u003e\u003ctd\u003eDevice IDs specified must not be null.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-189\u003c/td\u003e\u003ctd\u003eThe device corresponding to device ID [{0}] does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-190\u003c/td\u003e\u003ctd\u003eThe maximum number of devices that can be transferred in a transaction is {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-191\u003c/td\u003e\u003ctd\u003eYou must select devices from one establishment only.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-192\u003c/td\u003e\u003ctd\u003eOne of the devices being transferred is already listed in the receiving establishment's profile: {0}\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-193\u003c/td\u003e\u003ctd\u003eThe following device IDs specified for transfer are duplicates: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-194\u003c/td\u003e\u003ctd\u003eAt least one device ID must be specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-195\u003c/td\u003e\u003ctd\u003eInactive devices [{0}] cannot be transferred in the case of sending establishments that are factories.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-196\u003c/td\u003e\u003ctd\u003eThe following devices cannot be transferred because they are listed on an open work order: [{0}].\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-197\u003c/td\u003e\u003ctd\u003eThe following devices have already been transferred: [{0}].\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-198\u003c/td\u003e\u003ctd\u003eThe following devices have invalid trade sectors: [{0}].\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-199\u003c/td\u003e\u003ctd\u003eThe following devices have invalid product type codes: [{0}].\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-205\u003c/td\u003e\u003ctd\u003eYou must specify the name of the receiving establishment's contact person.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-206\u003c/td\u003e\u003ctd\u003eYou must specify the title of the receiving establishment's contact person.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-207\u003c/td\u003e\u003ctd\u003eYou must specify the email address of the receiving establishment's contact person.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-209\u003c/td\u003e\u003ctd\u003eYou must specify the delivery method for the receiving establishment.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-210\u003c/td\u003e\u003ctd\u003eYou must select the language preference for the receiving establishment.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-212\u003c/td\u003e\u003ctd\u003eThe email address of the receiving establishment's contact person is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-214\u003c/td\u003e\u003ctd\u003eThe email address of the sending establishment's contact person is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-005\u003c/td\u003e\u003ctd\u003eAn error occurred while transferring the devices.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/establishments/deviceDeactivation":{"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestDeactivateDeviceForm"}}},"required":true},"tags":["establishments"],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"deactivateDeviceUsingPOST","summary":"Deactivate a device","description":"This method allows you to deactivate a device.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-202\u003c/td\u003e\u003ctd\u003eThe device ID is mandatory.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-203\u003c/td\u003e\u003ctd\u003eThe device does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-206\u003c/td\u003e\u003ctd\u003eThe device is not active.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-207\u003c/td\u003e\u003ctd\u003eDevice {0} cannot be deactivated because it exists in open work order {1}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-208\u003c/td\u003e\u003ctd\u003eDevice {0} cannot be deactivated because it has been selected to be deactivated in open work order {1}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations":{"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestWorkOrderForm"}}},"required":true},"tags":["examinations"],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"createInspectionUsingPOST","summary":"Create a work order","description":"Create a work order.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-009\u003c/td\u003e\u003ctd\u003eThe establishment does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-014\u003c/td\u003e\u003ctd\u003eA request to merge the establishment is pending.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-015\u003c/td\u003e\u003ctd\u003eA request to close the establishment is pending.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-016\u003c/td\u003e\u003ctd\u003eThe technician cannot be found.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-017\u003c/td\u003e\u003ctd\u003eThe examination date field must contain a valid date in the format YYYY-MM-DD.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-018\u003c/td\u003e\u003ctd\u003eThe work order reference number cannot be more than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-019\u003c/td\u003e\u003ctd\u003eThe following devices are not active or do not belong to this establishment: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-020\u003c/td\u003e\u003ctd\u003eThe technician does not have access to the following devices: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-021\u003c/td\u003e\u003ctd\u003eYou must specify a recognized technician ID.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-022\u003c/td\u003e\u003ctd\u003eThe format of the recognized technician ID is not valid. Please enter it in the following format: A12345678.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-023\u003c/td\u003e\u003ctd\u003eThe recognized technician ID specified does not correspond to a technician from your organization.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-024\u003c/td\u003e\u003ctd\u003eThe recognized technician ID you have entered was assigned to a recognized technician who is currently not authorized to examine any of this establishment's devices.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-025\u003c/td\u003e\u003ctd\u003eThere is already a work order with reference number {0}. Please choose another reference number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-026\u003c/td\u003e\u003ctd\u003eYou must specify the examination date.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-027\u003c/td\u003e\u003ctd\u003eThe examination date cannot be in the future.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-028\u003c/td\u003e\u003ctd\u003eThe examination date cannot be before {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-029\u003c/td\u003e\u003ctd\u003eYou must select at least one device to add to the Examination list.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-030\u003c/td\u003e\u003ctd\u003eSome devices require attention. For more information and to make corrections, update devices with the following serial numbers below: {0}\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-162\u003c/td\u003e\u003ctd\u003eYou must have at least one active device on the work order.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-226\u003c/td\u003e\u003ctd\u003eDevice with serial number {0} cannot be selected because it is listed in open work order {1}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-227\u003c/td\u003e\u003ctd\u003eDevice with serial number {0} cannot be selected because it has been deactivated in open work order {1}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-002\u003c/td\u003e\u003ctd\u003eAn error occurred while creating the work order.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/establishment":{"put":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestEstablishmentForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"updateEstablishmentUsingPUT","summary":"Update an establishment","description":"This method allows you to update an establishment.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-004\u003c/td\u003e\u003ctd\u003eThe province code is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-021\u003c/td\u003e\u003ctd\u003eYou must specify a recognized technician ID.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-022\u003c/td\u003e\u003ctd\u003eThe format of the recognized technician ID is not valid. Please enter it in the following format: A12345678.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-023\u003c/td\u003e\u003ctd\u003eThe recognized technician ID specified does not correspond to a technician from your organization.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-024\u003c/td\u003e\u003ctd\u003eThe recognized technician ID you have entered was assigned to a recognized technician who is currently not authorized to examine any of this establishment's devices.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-031\u003c/td\u003e\u003ctd\u003eThe examination does not exist or has already been submitted.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-086\u003c/td\u003e\u003ctd\u003eThe contact person's email address - [{0}] is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-091\u003c/td\u003e\u003ctd\u003eThe district specified is not in the region specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-092\u003c/td\u003e\u003ctd\u003eYou must specify a legal name.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-093\u003c/td\u003e\u003ctd\u003eYou must specify a banner.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-094\u003c/td\u003e\u003ctd\u003eYou must specify a city.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-095\u003c/td\u003e\u003ctd\u003eYou must specify a province.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-096\u003c/td\u003e\u003ctd\u003eYou must specify a postal code.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-097\u003c/td\u003e\u003ctd\u003eYou must specify a telephone number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-098\u003c/td\u003e\u003ctd\u003eYou must specify a status.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-099\u003c/td\u003e\u003ctd\u003eThe postal code must be entered in the A9A 9A9 format and must start with a character that corresponds to the province or territory.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-100\u003c/td\u003e\u003ctd\u003eThe Postal code is not valid for the province specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-101\u003c/td\u003e\u003ctd\u003eThe telephone number must be entered in the 123-456-7890 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-102\u003c/td\u003e\u003ctd\u003eYou must enter a comment when the legal name has changed.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-103\u003c/td\u003e\u003ctd\u003eYou must limit your comment to {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-104\u003c/td\u003e\u003ctd\u003eYou must limit the directions to {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-105\u003c/td\u003e\u003ctd\u003eThe banner specified is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-169\u003c/td\u003e\u003ctd\u003eThe commentTextId can only be 3, 4, 8, or 9.  In case of 9, please use the comments field for any customized comments.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-235\u003c/td\u003e\u003ctd\u003eThe notes must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/devices/{deviceId}":{"put":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestEstablishmentDeviceForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"deviceId","description":"Device ID","schema":{"format":"int32","type":"integer"},"in":"path","required":true},{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"updateDeviceUsingPUT","summary":"Update an existing establishment device","description":"This method allows you to update an existing establishment device.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-019\u003c/td\u003e\u003ctd\u003eThe following devices are not active or do not belong to this establishment: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-020\u003c/td\u003e\u003ctd\u003eThe technician does not have access to the following devices: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-031\u003c/td\u003e\u003ctd\u003eThe examination does not exist or has already been submitted.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-035\u003c/td\u003e\u003ctd\u003eThe device ID entered is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-107\u003c/td\u003e\u003ctd\u003eYou must specify the device serial number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-108\u003c/td\u003e\u003ctd\u003eYou must specify the approval number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-109\u003c/td\u003e\u003ctd\u003eYou must specify a positive Capacity.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-110\u003c/td\u003e\u003ctd\u003eYou must specify the Capacity measurement unit.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-111\u003c/td\u003e\u003ctd\u003eYou must specify whether or not the device is active.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-112\u003c/td\u003e\u003ctd\u003eYou must specify the Device type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-113\u003c/td\u003e\u003ctd\u003eThe Device type code must be entered in the 12-34 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-114\u003c/td\u003e\u003ctd\u003eThe Device type does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-115\u003c/td\u003e\u003ctd\u003eOn the date of the examination, the person carrying out the examination was not authorized to examine a device of the selected type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-116\u003c/td\u003e\u003ctd\u003eThe approval number is invalid. Valid approval number formats are: Gravimetric devices: AM-1234, AM-1234T, AM-1234C Volumetric devices: AV-1234, AV-1234T, AV-1234C Other acceptable formats for gravimetric and volumetric devices: SD-WA-1234, SD-WA-1234T, SD-WA-1234C, S.WA-1234, S.WA-T1234, S.WX-T123 When the approval number is unknown, enter 'AM-9999' for gravimetric devices and 'AV-9999' for volumetric devices.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-117\u003c/td\u003e\u003ctd\u003eThe approval number is invalid. A list of valid formats is available by clicking the help icon beside the approval number field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-118\u003c/td\u003e\u003ctd\u003eThe secondary approval number is invalid. Valid approval number formats are: Gravimetric devices: AM-1234, AM-1234T, AM-1234C Volumetric devices: AV-1234, AV-1234T, AV-1234C Other acceptable formats for gravimetric and volumetric devices: SD-WA-1234, SD-WA-1234T, SD-WA-1234C, S.WA-1234, S.WA-T1234, S.WX-T123 When the approval number is unknown, enter 'AM-9999' for gravimetric devices and 'AV-9999' for volumetric devices.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-119\u003c/td\u003e\u003ctd\u003eThe secondary approval number is invalid. A list of valid formats is available by clicking the help icon beside the approval number field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-120\u003c/td\u003e\u003ctd\u003eThe approval number does not exist in the Notice of Approval database.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-121\u003c/td\u003e\u003ctd\u003eThe secondary approval number does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-122\u003c/td\u003e\u003ctd\u003eYou must specify a Secondary approval number when you specify a secondary serial number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-123\u003c/td\u003e\u003ctd\u003eYou must specify a Secondary serial number when you specify a secondary approval number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-124\u003c/td\u003e\u003ctd\u003eYou must specify the trade sub-sector.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-125\u003c/td\u003e\u003ctd\u003eThe trade sector specified is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-126\u003c/td\u003e\u003ctd\u003eYou must specify a capacity less than {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-127\u003c/td\u003e\u003ctd\u003eYou must specify the Interval unit of measurement.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-128\u003c/td\u003e\u003ctd\u003eYou must specify a positive Interval.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-129\u003c/td\u003e\u003ctd\u003eYou must specify an interval less than {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-130\u003c/td\u003e\u003ctd\u003eThe unit of measurement for the capacity is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-131\u003c/td\u003e\u003ctd\u003eThe unit of measurement for the capacity is invalid for the device type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-132\u003c/td\u003e\u003ctd\u003eThe unit of measurement for the interval is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-133\u003c/td\u003e\u003ctd\u003eThe unit of measurement for the interval is invalid for the capacity unit.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-134\u003c/td\u003e\u003ctd\u003eThe interval cannot be greater than the capacity.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-135\u003c/td\u003e\u003ctd\u003eThe serial number, approval number, secondary serial number and secondary approval number combination must be unique.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-136\u003c/td\u003e\u003ctd\u003eA technician recognized under Measurement Canada's Registration Program cannot examine a device from the specified trade sector.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-137\u003c/td\u003e\u003ctd\u003eThe capacity value must be entered in the 9999990.09999 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-138\u003c/td\u003e\u003ctd\u003eThe interval must be entered in the 9999990.09999 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-139\u003c/td\u003e\u003ctd\u003eThe serial number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-140\u003c/td\u003e\u003ctd\u003eThe secondary serial number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-141\u003c/td\u003e\u003ctd\u003eThe approval number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-142\u003c/td\u003e\u003ctd\u003eThe secondary approval number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-143\u003c/td\u003e\u003ctd\u003eThe capacity measurement unit must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-144\u003c/td\u003e\u003ctd\u003eThe interval must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-170\u003c/td\u003e\u003ctd\u003eDevice must be activated.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-230\u003c/td\u003e\u003ctd\u003eThe device exists at establishment {0}. Please transfer the device over to the current establishment or update the current device with different serial numbers and approval numbers.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-231\u003c/td\u003e\u003ctd\u003eThe device was transferred out of the establishment and the system couldn't locate it. Please contact the MC System Administrator.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/devices/{deviceId}/components/{componentId}":{"put":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestDeviceComponentForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"componentId","description":"Component ID","schema":{"format":"int32","type":"integer"},"in":"path","required":true},{"name":"deviceId","description":"Device ID","schema":{"format":"int32","type":"integer"},"in":"path","required":true},{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"updateDeviceComponentUsingPUT","summary":"Update an existing establishment device component","description":"This method allows you to update an existing establishment device component.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-019\u003c/td\u003e\u003ctd\u003eThe following devices are not active or do not belong to this establishment: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-020\u003c/td\u003e\u003ctd\u003eThe technician does not have access to the following devices: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-031\u003c/td\u003e\u003ctd\u003eThe examination does not exist or has already been submitted.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-035\u003c/td\u003e\u003ctd\u003eThe device ID entered is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-116\u003c/td\u003e\u003ctd\u003eThe approval number is invalid. Valid approval number formats are:\u003cul\u003e\u003cli\u003eGravimetric devices: AM-1234, AM-1234T, AM-1234C\u003c/li\u003e\u003cli\u003eVolumetric devices: AV-1234, AV-1234T, AV-1234C\u003c/li\u003e\u003cli\u003eOther acceptable formats for gravimetric and volumetric devices: SD-WA-1234, SD-WA-1234T, SD-WA-1234C, S.WA-1234, S.WA-T1234, S.WA-X123\u003c/li\u003e\u003cli\u003eWhen the approval number is unknown, enter \"AM-9999\" for gravimetric devices and \"AV-9999\" for volumetric devices.\u003c/li\u003e\u003c/ul\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-117\u003c/td\u003e\u003ctd\u003eThe approval number is invalid. A list of valid formats is available by clicking the help icon beside the approval number field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-118\u003c/td\u003e\u003ctd\u003eThe secondary approval number is invalid. Valid approval number formats are:\u003cul\u003e\u003cli\u003eGravimetric devices: AM-1234, AM-1234T, AM-1234C\u003c/li\u003e\u003cli\u003eVolumetric devices: AV-1234, AV-1234T, AV-1234C\u003c/li\u003e\u003cli\u003eOther acceptable formats for gravimetric and volumetric devices: SD-WA-1234, SD-WA-1234T, SD-WA-1234C, S.WA-1234, S.WA-T1234, S.WA-X123\u003c/li\u003e\u003cli\u003eWhen the approval number is unknown, enter \"AM-9999\" for gravimetric devices and \"AV-9999\" for volumetric devices.\u003c/li\u003e\u003c/ul\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-119\u003c/td\u003e\u003ctd\u003eThe secondary approval number is invalid. A list of valid formats is available by clicking the help icon beside the approval number field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-120\u003c/td\u003e\u003ctd\u003eThe approval number does not exist in the Notice of Approval database.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-121\u003c/td\u003e\u003ctd\u003eThe secondary approval number does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-145\u003c/td\u003e\u003ctd\u003eYou must specify a serial number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-146\u003c/td\u003e\u003ctd\u003eYou must specify an approval number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-147\u003c/td\u003e\u003ctd\u003eYou must specify whether or not the component is active.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-148\u003c/td\u003e\u003ctd\u003eThe component's serial number is not unique.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-149\u003c/td\u003e\u003ctd\u003eThe serial number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-150\u003c/td\u003e\u003ctd\u003eThe approval number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-151\u003c/td\u003e\u003ctd\u003eThe description must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-152\u003c/td\u003e\u003ctd\u003eInvalid device component id.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/devices":{"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestEstablishmentDeviceForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«CreateDeviceResponseResource»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"addDeviceUsingPOST","summary":"Add a new device","description":"This method allows you to add a new device.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-031\u003c/td\u003e\u003ctd\u003eThe examination does not exist or has already been submitted.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-107\u003c/td\u003e\u003ctd\u003eYou must specify the device serial number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-108\u003c/td\u003e\u003ctd\u003eYou must specify the approval number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-109\u003c/td\u003e\u003ctd\u003eYou must specify a positive Capacity.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-110\u003c/td\u003e\u003ctd\u003eYou must specify the Capacity measurement unit.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-111\u003c/td\u003e\u003ctd\u003eYou must specify whether or not the device is active.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-112\u003c/td\u003e\u003ctd\u003eYou must specify the Device type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-113\u003c/td\u003e\u003ctd\u003eThe Device type code must be entered in the 12-34 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-114\u003c/td\u003e\u003ctd\u003eThe Device type does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-115\u003c/td\u003e\u003ctd\u003eOn the date of the examination, the person carrying out the examination was not authorized to examine a device of the selected type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-116\u003c/td\u003e\u003ctd\u003eThe approval number is invalid. Valid approval number formats are:\u003cul\u003e\u003cli\u003eGravimetric devices: AM-1234, AM-1234T, AM-1234C\u003c/li\u003e\u003cli\u003eVolumetric devices: AV-1234, AV-1234T, AV-1234C\u003c/li\u003e\u003cli\u003eOther acceptable formats for gravimetric and volumetric devices: SD-WA-1234, SD-WA-1234T, SD-WA-1234C, S.WA-1234, S.WA-T1234, S.WA-X123\u003c/li\u003e\u003cli\u003eWhen the approval number is unknown, enter \"AM-9999\" for gravimetric devices and \"AV-9999\" for volumetric devices.\u003c/li\u003e\u003c/ul\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-117\u003c/td\u003e\u003ctd\u003eThe approval number is invalid. A list of valid formats is available by clicking the help icon beside the approval number field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-118\u003c/td\u003e\u003ctd\u003eThe secondary approval number is invalid. Valid approval number formats are:\u003cul\u003e\u003cli\u003eGravimetric devices: AM-1234, AM-1234T, AM-1234C\u003c/li\u003e\u003cli\u003eVolumetric devices: AV-1234, AV-1234T, AV-1234C\u003c/li\u003e\u003cli\u003eOther acceptable formats for gravimetric and volumetric devices: SD-WA-1234, SD-WA-1234T, SD-WA-1234C, S.WA-1234, S.WA-T1234, S.WA-X123\u003c/li\u003e\u003cli\u003eWhen the approval number is unknown, enter \"AM-9999\" for gravimetric devices and \"AV-9999\" for volumetric devices.\u003c/li\u003e\u003c/ul\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-119\u003c/td\u003e\u003ctd\u003eThe secondary approval number is invalid. A list of valid formats is available by clicking the help icon beside the approval number field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-120\u003c/td\u003e\u003ctd\u003eThe approval number does not exist in the Notice of Approval database.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-121\u003c/td\u003e\u003ctd\u003eThe secondary approval number does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-122\u003c/td\u003e\u003ctd\u003eYou must specify a Secondary approval number when you specify a secondary serial number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-123\u003c/td\u003e\u003ctd\u003eYou must specify a Secondary serial number when you specify a secondary approval number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-124\u003c/td\u003e\u003ctd\u003eYou must specify the trade sub-sector.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-125\u003c/td\u003e\u003ctd\u003eThe trade sector specified is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-126\u003c/td\u003e\u003ctd\u003eYou must specify a capacity less than {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-127\u003c/td\u003e\u003ctd\u003eYou must specify the Interval unit of measurement.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-128\u003c/td\u003e\u003ctd\u003eYou must specify a positive Interval.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-129\u003c/td\u003e\u003ctd\u003eYou must specify an interval less than {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-130\u003c/td\u003e\u003ctd\u003eThe unit of measurement for the capacity is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-131\u003c/td\u003e\u003ctd\u003eThe unit of measurement for the capacity is invalid for the device type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-132\u003c/td\u003e\u003ctd\u003eThe unit of measurement for the interval is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-133\u003c/td\u003e\u003ctd\u003eThe unit of measurement for the interval is invalid for the capacity unit.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-134\u003c/td\u003e\u003ctd\u003eThe interval cannot be greater than the capacity.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-135\u003c/td\u003e\u003ctd\u003eThe serial number, approval number, secondary serial number and secondary approval number combination must be unique.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-136\u003c/td\u003e\u003ctd\u003eA technician recognized under Measurement Canada's Registration Program cannot examine a device from the specified trade sector.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-137\u003c/td\u003e\u003ctd\u003eThe capacity value must be entered in the 9999990.09999 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-138\u003c/td\u003e\u003ctd\u003eThe interval must be entered in the 9999990.09999 format.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-139\u003c/td\u003e\u003ctd\u003eThe serial number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-140\u003c/td\u003e\u003ctd\u003eThe secondary serial number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-141\u003c/td\u003e\u003ctd\u003eThe approval number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-142\u003c/td\u003e\u003ctd\u003eThe secondary approval number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-143\u003c/td\u003e\u003ctd\u003eThe capacity measurement unit must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-144\u003c/td\u003e\u003ctd\u003eThe interval must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-224\u003c/td\u003e\u003ctd\u003eORA has found similar devices, which are indicated in the \"similarDevices\" field. If you still want to create the device, resubmit the same request and include the token in the \"similarDeviceToken\" field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-230\u003c/td\u003e\u003ctd\u003eThe device exists at establishment {0}. Please transfer the device over to the current establishment or update the current device with different serial numbers and approval numbers.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-231\u003c/td\u003e\u003ctd\u003eThe device was transferred out of the establishment and the system couldn't locate it. Please contact the MC System Administrator.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/devices/{deviceId}/components":{"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestDeviceComponentForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"deviceId","description":"Device ID","schema":{"format":"int32","type":"integer"},"in":"path","required":true},{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"addDeviceComponentUsingPOST","summary":"Add a new component","description":"This method allows you to add a new component.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-019\u003c/td\u003e\u003ctd\u003eThe following devices are not active or do not belong to this establishment: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-020\u003c/td\u003e\u003ctd\u003eThe technician does not have access to the following devices: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-031\u003c/td\u003e\u003ctd\u003eThe examination does not exist or has already been submitted.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-035\u003c/td\u003e\u003ctd\u003eThe device ID entered is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-116\u003c/td\u003e\u003ctd\u003eThe approval number is invalid. Valid approval number formats are:\u003cul\u003e\u003cli\u003eGravimetric devices: AM-1234, AM-1234T, AM-1234C\u003c/li\u003e\u003cli\u003eVolumetric devices: AV-1234, AV-1234T, AV-1234C\u003c/li\u003e\u003cli\u003eOther acceptable formats for gravimetric and volumetric devices: SD-WA-1234, SD-WA-1234T, SD-WA-1234C, S.WA-1234, S.WA-T1234, S.WA-X123\u003c/li\u003e\u003cli\u003eWhen the approval number is unknown, enter \"AM-9999\" for gravimetric devices and \"AV-9999\" for volumetric devices.\u003c/li\u003e\u003c/ul\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-117\u003c/td\u003e\u003ctd\u003eThe approval number is invalid. A list of valid formats is available by clicking the help icon beside the approval number field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-118\u003c/td\u003e\u003ctd\u003eThe secondary approval number is invalid. Valid approval number formats are:\u003cul\u003e\u003cli\u003eGravimetric devices: AM-1234, AM-1234T, AM-1234C\u003c/li\u003e\u003cli\u003eVolumetric devices: AV-1234, AV-1234T, AV-1234C\u003c/li\u003e\u003cli\u003eOther acceptable formats for gravimetric and volumetric devices: SD-WA-1234, SD-WA-1234T, SD-WA-1234C, S.WA-1234, S.WA-T1234, S.WA-X123\u003c/li\u003e\u003cli\u003eWhen the approval number is unknown, enter \"AM-9999\" for gravimetric devices and \"AV-9999\" for volumetric devices.\u003c/li\u003e\u003c/ul\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-119\u003c/td\u003e\u003ctd\u003eThe secondary approval number is invalid. A list of valid formats is available by clicking the help icon beside the approval number field.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-120\u003c/td\u003e\u003ctd\u003eThe approval number does not exist in the Notice of Approval database.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-121\u003c/td\u003e\u003ctd\u003eThe secondary approval number does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-145\u003c/td\u003e\u003ctd\u003eYou must specify a serial number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-146\u003c/td\u003e\u003ctd\u003eYou must specify an approval number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-147\u003c/td\u003e\u003ctd\u003eYou must specify whether or not the component is active.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-148\u003c/td\u003e\u003ctd\u003eThe component's serial number is not unique.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-149\u003c/td\u003e\u003ctd\u003eThe serial number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-150\u003c/td\u003e\u003ctd\u003eThe approval number must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-151\u003c/td\u003e\u003ctd\u003eThe description must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/results":{"post":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestInspectionResultForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"addDeviceInspectionUsingPOST","summary":"Report an examination result","description":"Report an examination result for a selected device.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-031\u003c/td\u003e\u003ctd\u003eThe examination does not exist or has already been submitted.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-034\u003c/td\u003e\u003ctd\u003eThe physical standard ID cannot be more than {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-035\u003c/td\u003e\u003ctd\u003eThe device ID entered is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-036\u003c/td\u003e\u003ctd\u003eThe device is either not provided, is not valid, or is not selected for the work order.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-037\u003c/td\u003e\u003ctd\u003eThe physical standard type is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-038\u003c/td\u003e\u003ctd\u003eYou must select an Examination type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-039\u003c/td\u003e\u003ctd\u003eYou must select a Seal status code.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-040\u003c/td\u003e\u003ctd\u003eYou must select an As found code.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-041\u003c/td\u003e\u003ctd\u003eYou must select a Result code.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-042\u003c/td\u003e\u003ctd\u003eThe specified examination type code is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-043\u003c/td\u003e\u003ctd\u003eThe person who carried out the examination was not authorized to carry out an examination of the type specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-044\u003c/td\u003e\u003ctd\u003ePeriodic inspection type is only to be used with trade sectors covered by mandatory re-examination.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-045\u003c/td\u003e\u003ctd\u003eThe selected Result code is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-046\u003c/td\u003e\u003ctd\u003eThe person who carried out the examination is not authorized to select the specified Result code.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-047\u003c/td\u003e\u003ctd\u003eThe comment must be at most {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-048\u003c/td\u003e\u003ctd\u003eIf you select Re-examination as the examination type, the device must have previously been examined.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-049\u003c/td\u003e\u003ctd\u003eA re-examination can only be selected if the device has failed the previous examination.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-050\u003c/td\u003e\u003ctd\u003eA re-examination is only allowed if it is within {0} days of the previous examination.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-051\u003c/td\u003e\u003ctd\u003eThe As found code specified is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-052\u003c/td\u003e\u003ctd\u003eThe person who carried out the examination was not authorized to select the specified As found code.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-053\u003c/td\u003e\u003ctd\u003eThe Seal status code specified is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-054\u003c/td\u003e\u003ctd\u003eYou must select Initial or Audit Trail as the seal status for initial examinations.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-055\u003c/td\u003e\u003ctd\u003eThe Seal status code Initial can only be selected for initial examinations.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-056\u003c/td\u003e\u003ctd\u003eYou must specify a valid product type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-057\u003c/td\u003e\u003ctd\u003eYou must specify the Product type when examining a volumetric measuring device.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-058\u003c/td\u003e\u003ctd\u003eThe recognized technician is not authorized to examine the device subtype and product type combination.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-059\u003c/td\u003e\u003ctd\u003eYou must specify the Physical standard type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-060\u003c/td\u003e\u003ctd\u003eThe person who carried out the examination was not authorized to use the selected standard type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-061\u003c/td\u003e\u003ctd\u003eYou must specify at least one Physical standard ID.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-062\u003c/td\u003e\u003ctd\u003eYou have entered duplicate Physical standard IDs.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-063\u003c/td\u003e\u003ctd\u003eThe Project number is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-064\u003c/td\u003e\u003ctd\u003eWhen the Examination type code is 0, the \"As found\" and the \"Result\" codes must be X or Z and must be the same.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-065\u003c/td\u003e\u003ctd\u003eWhen the As found code is X or Z and the Result code is R or S, the Examination type code must be 1,3,4,5,6 or 7.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-066\u003c/td\u003e\u003ctd\u003eWhen the Result code is X or Z, the Examination type must be 0.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-067\u003c/td\u003e\u003ctd\u003eWhen the As found code is Z, the Result code must be Z, S or R.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-068\u003c/td\u003e\u003ctd\u003eWhen the As found code is X, the Result code must be X, S or R.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-069\u003c/td\u003e\u003ctd\u003eThe As found code is invalid for the result.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-070\u003c/td\u003e\u003ctd\u003eIf you select Audit trail as a seal status, you must enter a comment.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-071\u003c/td\u003e\u003ctd\u003eA comment must be entered when the result is Rejected or Seized.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-072\u003c/td\u003e\u003ctd\u003eA technician recognized under Measurement Canada's Registration Program carried out the examination. The specified trade sector, product type and examination type are not covered under the scope of Measurement Canada's Registration Program.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-105\u003c/td\u003e\u003ctd\u003eThe banner specified is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-161\u003c/td\u003e\u003ctd\u003eThe work order does not have an examination date.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-220\u003c/td\u003e\u003ctd\u003eThe Measurement Canada Inspector should be null when inspection type is not M.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-221\u003c/td\u003e\u003ctd\u003eThe Measurement Canada Inspector is mandatory when inspection type is M.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-222\u003c/td\u003e\u003ctd\u003eThe specified ID number does not correspond to a valid inspector ID. Please contact Measurement Canada for more information.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-232\u003c/td\u003e\u003ctd\u003eYou must specify a Temperature standard ID.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-233\u003c/td\u003e\u003ctd\u003eThe Temperature standard ID must be at most {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-234\u003c/td\u003e\u003ctd\u003eFor initial examinations the 'As found' in not required unless the result is other than V Verified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-003\u003c/td\u003e\u003ctd\u003eThe device examination result is not saved.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}":{"put":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestInspectionConfirmationForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"confirmInspectionUsingPUT","summary":"Confirm the examination","description":"Confirm the examination\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-021\u003c/td\u003e\u003ctd\u003eYou must specify a recognized technician ID.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-022\u003c/td\u003e\u003ctd\u003eThe format of the recognized technician ID is not valid. Please enter it in the following format: A12345678.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-023\u003c/td\u003e\u003ctd\u003eThe recognized technician ID specified does not correspond to a technician from your organization.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-024\u003c/td\u003e\u003ctd\u003eThe recognized technician ID you have entered was assigned to a recognized technician who is currently not authorized to examine any of this establishment's devices.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-026\u003c/td\u003e\u003ctd\u003eYou must specify the examination date.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-027\u003c/td\u003e\u003ctd\u003eThe examination date cannot be in the future.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-028\u003c/td\u003e\u003ctd\u003eThe examination date cannot be before {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-029\u003c/td\u003e\u003ctd\u003eYou must select at least one device to add to the Examination list.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-030\u003c/td\u003e\u003ctd\u003eSome devices require attention. For more information and to make corrections, update devices with the following serial numbers below: {0}\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-031\u003c/td\u003e\u003ctd\u003eThe examination does not exist or has already been submitted.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-073\u003c/td\u003e\u003ctd\u003eThe name of the {0} contact person must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-074\u003c/td\u003e\u003ctd\u003eThe title of the {0} contact must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-076\u003c/td\u003e\u003ctd\u003eThe email address of the {0} contact must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-077\u003c/td\u003e\u003ctd\u003eDelivery preference [{0}] is invalid. Specify 1 for email.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-078\u003c/td\u003e\u003ctd\u003eThe language preference [{0}] is invalid. Specify E or F.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-079\u003c/td\u003e\u003ctd\u003eYou must specify the name of the establishment's contact person.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-080\u003c/td\u003e\u003ctd\u003eYou must specify the title of the establishment's contact person.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-081\u003c/td\u003e\u003ctd\u003eYou must specify the delivery method.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-082\u003c/td\u003e\u003ctd\u003eYou must specify the certificate delivery method.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-083\u003c/td\u003e\u003ctd\u003eYou must specify the email address of the establishment's contact person.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-086\u003c/td\u003e\u003ctd\u003eThe contact person's email address - [{0}] is not valid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-087\u003c/td\u003e\u003ctd\u003eYou must select your language preference.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-088\u003c/td\u003e\u003ctd\u003eThe overall examination comments cannot be more than {0} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-089\u003c/td\u003e\u003ctd\u003eThe devices have not been examined: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-162\u003c/td\u003e\u003ctd\u003eYou must have at least one active device on the work order.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-204\u003c/td\u003e\u003ctd\u003eExamination results are incomplete for device or device(s) {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-504\u003c/td\u003e\u003ctd\u003eAn error occurred when generating or sending the certificate.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"},"delete":{"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"deleteOpenInspectionUsingDELETE","summary":"Delete an open work order","description":"Delete an open work order.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-153\u003c/td\u003e\u003ctd\u003eThe examination does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-165\u003c/td\u003e\u003ctd\u003eThe examination is closed.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-166\u003c/td\u003e\u003ctd\u003eThe examination is reopened.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-167\u003c/td\u003e\u003ctd\u003eOnly device examinations can be deleted.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/certificate":{"get":{"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«InspectionCertificateResource»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"getCertificateUsingGET","summary":"Retrieve the examination certificate","description":"This method allows you to retrieve the certificate of an examination.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-153\u003c/td\u003e\u003ctd\u003eThe examination does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-155\u003c/td\u003e\u003ctd\u003eNo certificates found.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"},"put":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestContactForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"resendCertificateUsingPUT","summary":"Resend examination certificate","description":"This method allows you to resend examination certificates.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-009\u003c/td\u003e\u003ctd\u003eThe establishment does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-014\u003c/td\u003e\u003ctd\u003eA request to merge the establishment is pending.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-015\u003c/td\u003e\u003ctd\u003eA request to close the establishment is pending.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-073\u003c/td\u003e\u003ctd\u003eThe name of the {0} contact person must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-074\u003c/td\u003e\u003ctd\u003eThe title of the {0} contact must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-076\u003c/td\u003e\u003ctd\u003eThe email address of the {0} contact must be less than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-077\u003c/td\u003e\u003ctd\u003eDelivery preference [{0}] is invalid. Specify 1 for email.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-153\u003c/td\u003e\u003ctd\u003eThe examination does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-158\u003c/td\u003e\u003ctd\u003eThe examination is not closed.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-159\u003c/td\u003e\u003ctd\u003eThe establishment is closed.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-160\u003c/td\u003e\u003ctd\u003eThe certificate pre-dates ORA; it cannot be re-sent.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-004\u003c/td\u003e\u003ctd\u003eAn error occurred when re-sending the certificate.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/status":{"get":{"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«InspectionResource»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"getExaminationUsingGET","summary":"Retrieve the examination statuses","description":"This method allows you to retrieve the statuses of an examination.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-153\u003c/td\u003e\u003ctd\u003eThe examination does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{referenceNumber}":{"get":{"tags":["examinations"],"parameters":[{"name":"referenceNumber","description":"Work order reference number","schema":{"type":"string"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«InspectionResources»"}}},"description":"OK"}},"operationId":"getExaminationsUsingGET","summary":"Retrieve examinations with a work order reference number","description":"This method allows you to retrieve a list of examinations that have the work order reference number.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/examinations/{examinationId}/updates":{"put":{"requestBody":{"description":"Form","content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/RestUpdateInspectionForm"}}},"required":true},"tags":["examinations"],"parameters":[{"name":"examinationId","description":"Examination ID / Certificate number","schema":{"format":"int64","type":"integer"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«string»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"reopenInspectionUsingPUT","summary":"Reopen a work order","description":"Reopen a work order.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-011\u003c/td\u003e\u003ctd\u003eIncorrect parameter data type.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-012\u003c/td\u003e\u003ctd\u003ePlease check format of JSON form object.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-013\u003c/td\u003e\u003ctd\u003eThe method arguments are not valid: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-018\u003c/td\u003e\u003ctd\u003eThe work order reference number cannot be more than {1} characters.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-019\u003c/td\u003e\u003ctd\u003eThe following devices are not active or do not belong to this establishment: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-020\u003c/td\u003e\u003ctd\u003eThe technician does not have access to the following devices: {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-025\u003c/td\u003e\u003ctd\u003eThere is already a work order with reference number {0}. Please choose another reference number.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-154\u003c/td\u003e\u003ctd\u003eYou are not authorized to access the examination specified.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-186\u003c/td\u003e\u003ctd\u003eCannot update examination {0}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-205\u003c/td\u003e\u003ctd\u003eThe examination does not exist or has not been submitted.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-228\u003c/td\u003e\u003ctd\u003eWork order cannot be reopened because device with serial number {0} exists in open work order {1}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-229\u003c/td\u003e\u003ctd\u003eWork order cannot be reopened because device with serial number {0} has been deactivated in open work order {1}.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/codetables":{"get":{"tags":["codetables"],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«CodeTableListResources»"}}},"description":"OK"}},"operationId":"getCodeTablesUsingGET","summary":"Retrieve the list of code tables","description":"This method allows you to retrieve a list of code tables supported by the system."}},"/v1/codetables/{codeTableId}":{"get":{"tags":["codetables"],"parameters":[{"name":"codeTableId","description":"Code table ID","schema":{"type":"string"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«CodeTableResources»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"getCodeTableByIdUsingGET","summary":"Retrieve the content of a code table","description":"This method allows you to retrieve the content of a code table.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-175\u003c/td\u003e\u003ctd\u003eThe code table {0} does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/codetables/{codeTableId}/{code}":{"get":{"tags":["codetables"],"parameters":[{"name":"code","description":"Code value","schema":{"type":"string"},"in":"path","required":true},{"name":"codeTableId","description":"Code table ID","schema":{"type":"string"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«CodeTableSubCodeTableResource»"}}},"description":"OK"},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}},"operationId":"getSubCodeTableByIdUsingGET","summary":"Retrieve the sub-codes of a given code","description":"This method allows you to retrieve the sub-codes of a given code.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-175\u003c/td\u003e\u003ctd\u003eThe code table {0} does not exist.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-176\u003c/td\u003e\u003ctd\u003eThe code table does not have any sub-codes.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e400-177\u003c/td\u003e\u003ctd\u003eThe code {0} does not exist. \u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}},"/v1/help/errors/{errorCode}":{"get":{"tags":["help"],"parameters":[{"name":"errorCode","description":"Error code","schema":{"type":"string"},"in":"path","required":true}],"responses":{"200":{"content":{"application/json;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ORAResponse«RestErrorResource»"}}},"description":"OK"},"400":{"description":"Bad request"}},"operationId":"getErrorUsingGET","summary":"Retrieve the error details","description":"This method allows you to retrieve the detail descriptions of an error code.\u003cbr\u003e\u003cbr\u003eErrors that may be returned:\u003ctable class=\"fullwidth\"\u003e\u003cthead\u003e\u003ctr\u003e\u003cth width='10%'\u003eError Code\u003c/th\u003e\u003cth width='90%'\u003eError Message\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctr\u003e\u003ctd\u003e400-156\u003c/td\u003e\u003ctd\u003eThe error code is invalid.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e500-001\u003c/td\u003e\u003ctd\u003eThe following error occurred: {0}.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e"}}},"components":{"schemas":{"CodeTableListResource":{"title":"CodeTableListResource","type":"object","properties":{"codeTableDescription":{"type":"string","xml":{"name":"codeTableDescription","attribute":false,"wrapped":false}},"codeTableId":{"type":"string","xml":{"name":"codeTableId","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}}},"xml":{"name":"CodeTableListResource","attribute":false,"wrapped":false}},"CodeTableResource":{"title":"CodeTableResource","type":"object","properties":{"code":{"type":"string","xml":{"name":"code","attribute":false,"wrapped":false}},"description":{"type":"string","xml":{"name":"description","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}}}},"CodeTableSubCodeTableResource":{"title":"CodeTableSubCodeTableResource","type":"object","properties":{"code":{"$ref":"#/components/schemas/CodeTableResource","xml":{"name":"code","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}},"subCodes":{"type":"array","items":{"$ref":"#/components/schemas/SubCodeTableResource"},"xml":{"name":"subCodes","attribute":false,"wrapped":false}}},"xml":{"name":"CodeTableSubCodeTableResource","attribute":false,"wrapped":false}},"CreateDeviceResponseResource":{"title":"CreateDeviceResponseResource","type":"object","properties":{"deviceId":{"format":"int32","type":"integer","xml":{"name":"deviceId","attribute":false,"wrapped":false}},"deviceToken":{"type":"string","xml":{"name":"deviceToken","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}},"similarDevices":{"type":"array","items":{"$ref":"#/components/schemas/EstablishmentDeviceResource"},"xml":{"name":"similarDevices","attribute":false,"wrapped":false}}},"xml":{"name":"CreateDeviceResponseResource","attribute":false,"wrapped":false}},"CreateEstablishmentResponseResource":{"title":"CreateEstablishmentResponseResource","type":"object","properties":{"addressToken":{"type":"string","xml":{"name":"addressToken","attribute":false,"wrapped":false}},"establishmentNumber":{"format":"int32","type":"integer","xml":{"name":"establishmentNumber","attribute":false,"wrapped":false}},"establishmentToken":{"type":"string","xml":{"name":"establishmentToken","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}},"similarEstablishments":{"type":"array","items":{"format":"int32","type":"integer"},"xml":{"name":"similarEstablishments","attribute":false,"wrapped":false}}},"xml":{"name":"CreateEstablishmentResponseResource","attribute":false,"wrapped":false}},"DeviceComponentResource":{"title":"DeviceComponentResource","type":"object","properties":{"approvalId":{"type":"string","xml":{"name":"approvalId","attribute":false,"wrapped":false}},"compSeqNo":{"format":"int32","type":"integer","xml":{"name":"compSeqNo","attribute":false,"wrapped":false}},"description":{"type":"string","xml":{"name":"description","attribute":false,"wrapped":false}},"deviceId":{"format":"int32","type":"integer","xml":{"name":"deviceId","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}},"manufacturerId":{"type":"string","xml":{"name":"manufacturerId","attribute":false,"wrapped":false}},"secondarySerialNumber":{"type":"string","xml":{"name":"secondarySerialNumber","attribute":false,"wrapped":false}}},"xml":{"name":"DeviceComponentResource","attribute":false,"wrapped":false}},"DeviceTradeSectorProductCode":{"title":"DeviceTradeSectorProductCode","type":"object","properties":{"deviceId":{"format":"int32","type":"integer"},"productTypeCode":{"format":"int32","type":"integer"},"tradeSector":{"format":"int32","type":"integer"}},"xml":{"name":"DeviceTradeSectorProductCode","attribute":false,"wrapped":false}},"EstablishmentDeviceResource":{"title":"EstablishmentDeviceResource","type":"object","properties":{"actualCapacityAmount":{"type":"number","xml":{"name":"actualCapacityAmount","attribute":false,"wrapped":false}},"actualCapacityUnitId":{"type":"string","xml":{"name":"actualCapacityUnitId","attribute":false,"wrapped":false}},"approvalId":{"type":"string","xml":{"name":"approvalId","attribute":false,"wrapped":false}},"deviceComponents":{"type":"array","items":{"$ref":"#/components/schemas/DeviceComponentResource"},"xml":{"name":"deviceComponents","attribute":false,"wrapped":false}},"deviceId":{"format":"int32","type":"integer","xml":{"name":"deviceId","attribute":false,"wrapped":false}},"deviceSerialNumber":{"type":"string","xml":{"name":"deviceSerialNumber","attribute":false,"wrapped":false}},"deviceSubType":{"type":"string","xml":{"name":"deviceSubType","attribute":false,"wrapped":false}},"establishmentNumber":{"format":"int32","type":"integer","xml":{"name":"establishmentNumber","attribute":false,"wrapped":false}},"factoryInspectedIndicator":{"type":"boolean","xml":{"name":"factoryInspectedIndicator","attribute":false,"wrapped":false}},"intervalCapacityAmount":{"type":"number","xml":{"name":"intervalCapacityAmount","attribute":false,"wrapped":false}},"intervalCapacityUnitId":{"type":"string","xml":{"name":"intervalCapacityUnitId","attribute":false,"wrapped":false}},"isActive":{"type":"boolean","xml":{"name":"isActive","attribute":false,"wrapped":false}},"lastExaminationDate":{"type":"string","xml":{"name":"lastExaminationDate","attribute":false,"wrapped":false},"example":"yyyy-MM-dd"},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}},"nextExaminationDueDate":{"type":"string","xml":{"name":"nextExaminationDueDate","attribute":false,"wrapped":false},"example":"yyyy-MM-dd"},"productTypeCode":{"format":"int32","type":"integer","xml":{"name":"productTypeCode","attribute":false,"wrapped":false}},"secondaryApprovalId":{"type":"string","xml":{"name":"secondaryApprovalId","attribute":false,"wrapped":false}},"secondarySerialNumber":{"type":"string","xml":{"name":"secondarySerialNumber","attribute":false,"wrapped":false}},"tradeSector":{"type":"string","xml":{"name":"tradeSector","attribute":false,"wrapped":false}}},"xml":{"name":"EstablishmentDeviceResource","attribute":false,"wrapped":false}},"EstablishmentResource":{"title":"EstablishmentResource","type":"object","properties":{"bannerEnglishCode":{"type":"string","xml":{"name":"bannerEnglishCode","attribute":false,"wrapped":false}},"city":{"type":"string","xml":{"name":"city","attribute":false,"wrapped":false}},"contactEmail":{"type":"string","xml":{"name":"contactEmail","attribute":false,"wrapped":false}},"contactName":{"type":"string","xml":{"name":"contactName","attribute":false,"wrapped":false}},"directions":{"type":"string","xml":{"name":"directions","attribute":false,"wrapped":false}},"establishmentNumber":{"format":"int32","type":"integer","xml":{"name":"establishmentNumber","attribute":false,"wrapped":false}},"establishmentStatusCode":{"format":"int32","type":"integer","xml":{"name":"establishmentStatusCode","attribute":false,"wrapped":false}},"factory":{"type":"boolean","xml":{"name":"factory","attribute":false,"wrapped":false}},"legalName":{"type":"string","xml":{"name":"legalName","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}},"notes":{"type":"string","xml":{"name":"notes","attribute":false,"wrapped":false}},"operatingName":{"type":"string","xml":{"name":"operatingName","attribute":false,"wrapped":false}},"postalCode":{"type":"string","xml":{"name":"postalCode","attribute":false,"wrapped":false}},"provinceCode":{"type":"string","xml":{"name":"provinceCode","attribute":false,"wrapped":false}},"street":{"type":"string","xml":{"name":"street","attribute":false,"wrapped":false}},"telephone":{"type":"string","xml":{"name":"telephone","attribute":false,"wrapped":false}}}},"InspectionCertificateResource":{"title":"InspectionCertificateResource","type":"object","properties":{"certificateContent":{"type":"string","xml":{"name":"certificateContent","attribute":false,"wrapped":false}},"certificateId":{"format":"int64","type":"integer","xml":{"name":"certificateId","attribute":false,"wrapped":false}},"examinationId":{"format":"int64","type":"integer","xml":{"name":"examinationId","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}}},"xml":{"name":"InspectionCertificateResource","attribute":false,"wrapped":false}},"InspectionResource":{"title":"InspectionResource","type":"object","properties":{"decReceived":{"type":"boolean","xml":{"name":"decReceived","attribute":false,"wrapped":false}},"deliveryMethod":{"type":"string","xml":{"name":"deliveryMethod","attribute":false,"wrapped":false}},"establishmentNumber":{"format":"int32","type":"integer","xml":{"name":"establishmentNumber","attribute":false,"wrapped":false}},"examinationId":{"format":"int64","type":"integer","xml":{"name":"examinationId","attribute":false,"wrapped":false}},"inspectionDate":{"type":"string","xml":{"name":"inspectionDate","attribute":false,"wrapped":false}},"isOpen":{"type":"boolean","xml":{"name":"isOpen","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}},"technicianId":{"type":"string","xml":{"name":"technicianId","attribute":false,"wrapped":false}}}},"Link":{"title":"Link","type":"object","properties":{"deprecation":{"type":"string","xml":{"name":"deprecation","attribute":true,"wrapped":false}},"href":{"type":"string","xml":{"name":"href","attribute":true,"wrapped":false}},"hreflang":{"type":"string","xml":{"name":"hreflang","attribute":true,"wrapped":false}},"media":{"type":"string","xml":{"name":"media","attribute":true,"wrapped":false}},"rel":{"type":"string","xml":{"name":"rel","attribute":true,"wrapped":false}},"templated":{"type":"boolean"},"title":{"type":"string","xml":{"name":"title","attribute":true,"wrapped":false}},"type":{"type":"string","xml":{"name":"type","attribute":true,"wrapped":false}}}},"ORAMetadata":{"title":"ORAMetadata","type":"object","properties":{"dataDescription":{"type":"object","additionalProperties":{"type":"string"},"xml":{"name":"dataDescription","attribute":false,"wrapped":false}},"licenses":{"type":"array","items":{"type":"string"},"xml":{"name":"licenses","attribute":false,"wrapped":false}},"request":{"$ref":"#/components/schemas/ORARequestInfo","xml":{"name":"request","attribute":false,"wrapped":false}}}},"ORARequestInfo":{"title":"ORARequestInfo","type":"object","properties":{"dateCreated":{"type":"string","xml":{"name":"dateCreated","attribute":false,"wrapped":false}},"errorCodes":{"type":"array","items":{"type":"string"},"xml":{"name":"errorCodes","attribute":false,"wrapped":false}},"errorMessages":{"type":"array","items":{"type":"string"},"xml":{"name":"errorMessages","attribute":false,"wrapped":false}},"status":{"type":"string","xml":{"name":"status","attribute":false,"wrapped":false}}}},"ORAResponse«CodeTableListResources»":{"title":"ORAResponse«CodeTableListResources»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"type":"array","items":{"$ref":"#/components/schemas/CodeTableListResource"},"xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«CodeTableResources»":{"title":"ORAResponse«CodeTableResources»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"type":"array","items":{"$ref":"#/components/schemas/CodeTableResource"},"xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«CodeTableSubCodeTableResource»":{"title":"ORAResponse«CodeTableSubCodeTableResource»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"$ref":"#/components/schemas/CodeTableSubCodeTableResource","xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«CreateDeviceResponseResource»":{"title":"ORAResponse«CreateDeviceResponseResource»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"$ref":"#/components/schemas/CreateDeviceResponseResource","xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«CreateEstablishmentResponseResource»":{"title":"ORAResponse«CreateEstablishmentResponseResource»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"$ref":"#/components/schemas/CreateEstablishmentResponseResource","xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«EstablishmentDeviceResources»":{"title":"ORAResponse«EstablishmentDeviceResources»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"type":"array","items":{"$ref":"#/components/schemas/EstablishmentDeviceResource"},"xml":{"name":"result","attribute":false,"wrapped":false}}}},"ORAResponse«EstablishmentResources»":{"title":"ORAResponse«EstablishmentResources»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"type":"array","items":{"$ref":"#/components/schemas/EstablishmentResource"},"xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«EstablishmentResource»":{"title":"ORAResponse«EstablishmentResource»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"$ref":"#/components/schemas/EstablishmentResource","xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«InspectionCertificateResource»":{"title":"ORAResponse«InspectionCertificateResource»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"$ref":"#/components/schemas/InspectionCertificateResource","xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«InspectionResources»":{"title":"ORAResponse«InspectionResources»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"type":"array","items":{"$ref":"#/components/schemas/InspectionResource"},"xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«InspectionResource»":{"title":"ORAResponse«InspectionResource»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"$ref":"#/components/schemas/InspectionResource","xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«RestErrorResource»":{"title":"ORAResponse«RestErrorResource»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"$ref":"#/components/schemas/RestErrorResource","xml":{"name":"result","attribute":false,"wrapped":false}}},"xml":{"name":"ORAResponse","attribute":false,"wrapped":false}},"ORAResponse«string»":{"title":"ORAResponse«string»","type":"object","properties":{"metadata":{"$ref":"#/components/schemas/ORAMetadata","xml":{"name":"metadata","attribute":false,"wrapped":false}},"result":{"type":"string","xml":{"name":"result","attribute":false,"wrapped":false}}}},"RestContactForm":{"title":"RestContactForm","type":"object","properties":{"contactEMail":{"type":"string","xml":{"name":"contactEMail","attribute":false,"wrapped":false}},"contactEMail2":{"type":"string","xml":{"name":"contactEMail2","attribute":false,"wrapped":false}},"contactName":{"type":"string","xml":{"name":"contactName","attribute":false,"wrapped":false}},"contactTitle":{"type":"string","xml":{"name":"contactTitle","attribute":false,"wrapped":false}},"deliveryPreferenceId":{"format":"int32","type":"integer","xml":{"name":"deliveryPreferenceId","attribute":false,"wrapped":false}}}},"RestContactLanguageForm":{"title":"RestContactLanguageForm","type":"object","properties":{"certificateLanguageCode":{"type":"string","xml":{"name":"certificateLanguageCode","attribute":false,"wrapped":false}},"contactEMail":{"type":"string","xml":{"name":"contactEMail","attribute":false,"wrapped":false}},"contactEMail2":{"type":"string","xml":{"name":"contactEMail2","attribute":false,"wrapped":false}},"contactName":{"type":"string","xml":{"name":"contactName","attribute":false,"wrapped":false}},"contactTitle":{"type":"string","xml":{"name":"contactTitle","attribute":false,"wrapped":false}},"deliveryPreferenceId":{"format":"int32","type":"integer","xml":{"name":"deliveryPreferenceId","attribute":false,"wrapped":false}}},"xml":{"name":"RestContactLanguageForm","attribute":false,"wrapped":false}},"RestDeactivateDeviceForm":{"title":"RestDeactivateDeviceForm","type":"object","properties":{"deviceId":{"format":"int32","type":"integer","xml":{"name":"deviceId","attribute":false,"wrapped":false}}},"xml":{"name":"RestDeactivateDeviceForm","attribute":false,"wrapped":false}},"RestDeviceComponentForm":{"title":"RestDeviceComponentForm","type":"object","properties":{"activeIndicator":{"type":"boolean","xml":{"name":"activeIndicator","attribute":false,"wrapped":false}},"approvalNumber":{"type":"string","xml":{"name":"approvalNumber","attribute":false,"wrapped":false}},"description":{"type":"string","xml":{"name":"description","attribute":false,"wrapped":false}},"serialNumber":{"type":"string","xml":{"name":"serialNumber","attribute":false,"wrapped":false}}}},"RestErrorResource":{"title":"RestErrorResource","type":"object","properties":{"descriptionEnglish":{"type":"string","xml":{"name":"descriptionEnglish","attribute":false,"wrapped":false}},"descriptionFrench":{"type":"string","xml":{"name":"descriptionFrench","attribute":false,"wrapped":false}},"errorCode":{"type":"string","xml":{"name":"errorCode","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}}},"xml":{"name":"EstablishmentResource","attribute":false,"wrapped":false}},"RestEstablishmentClosureForm":{"title":"RestEstablishmentClosureForm","type":"object","properties":{"commentTextId":{"format":"int32","type":"integer","xml":{"name":"commentTextId","attribute":false,"wrapped":false}},"comments":{"type":"string","xml":{"name":"comments","attribute":false,"wrapped":false}},"establishmentNo":{"format":"int32","type":"integer","xml":{"name":"establishmentNo","attribute":false,"wrapped":false}},"technicianUserId":{"type":"string","xml":{"name":"technicianUserId","attribute":false,"wrapped":false}}},"xml":{"name":"RestEstablishmentClosureForm","attribute":false,"wrapped":false}},"RestEstablishmentCreationForm":{"title":"RestEstablishmentCreationForm","type":"object","properties":{"addressValidationToken":{"type":"string","xml":{"name":"addressValidationToken","attribute":false,"wrapped":false}},"bannerCode":{"type":"string","xml":{"name":"bannerCode","attribute":false,"wrapped":false}},"city":{"type":"string","xml":{"name":"city","attribute":false,"wrapped":false}},"commentTextId":{"format":"int32","type":"integer","xml":{"name":"commentTextId","attribute":false,"wrapped":false}},"comments":{"type":"string","xml":{"name":"comments","attribute":false,"wrapped":false}},"contactEmail":{"type":"string","xml":{"name":"contactEmail","attribute":false,"wrapped":false}},"contactName":{"type":"string","xml":{"name":"contactName","attribute":false,"wrapped":false}},"contactTitle":{"type":"string","xml":{"name":"contactTitle","attribute":false,"wrapped":false}},"directions":{"type":"string","xml":{"name":"directions","attribute":false,"wrapped":false}},"manufacturerIndicator":{"type":"boolean","xml":{"name":"manufacturerIndicator","attribute":false,"wrapped":false}},"name":{"type":"string","xml":{"name":"name","attribute":false,"wrapped":false}},"notes":{"type":"string","xml":{"name":"notes","attribute":false,"wrapped":false}},"operatingName":{"type":"string","xml":{"name":"operatingName","attribute":false,"wrapped":false}},"postalCode":{"type":"string","xml":{"name":"postalCode","attribute":false,"wrapped":false}},"provinceCode":{"type":"string","xml":{"name":"provinceCode","attribute":false,"wrapped":false}},"similarEstablishmentToken":{"type":"string","xml":{"name":"similarEstablishmentToken","attribute":false,"wrapped":false}},"street":{"type":"string","xml":{"name":"street","attribute":false,"wrapped":false}},"technicianUserId":{"type":"string","xml":{"name":"technicianUserId","attribute":false,"wrapped":false}},"telephoneNumber":{"type":"string","xml":{"name":"telephoneNumber","attribute":false,"wrapped":false}}},"xml":{"name":"RestEstablishmentCreationForm","attribute":false,"wrapped":false}},"RestEstablishmentDeviceForm":{"title":"RestEstablishmentDeviceForm","type":"object","properties":{"activeIndicator":{"type":"boolean","xml":{"name":"activeIndicator","attribute":false,"wrapped":false}},"actualCapacityAmount":{"type":"number","xml":{"name":"actualCapacityAmount","attribute":false,"wrapped":false}},"actualCapacityUnitId":{"type":"string","xml":{"name":"actualCapacityUnitId","attribute":false,"wrapped":false}},"approvalNumber":{"type":"string","xml":{"name":"approvalNumber","attribute":false,"wrapped":false}},"deviceTypeSubTypeId":{"type":"string","xml":{"name":"deviceTypeSubTypeId","attribute":false,"wrapped":false}},"intervalCapacityAmount":{"type":"number","xml":{"name":"intervalCapacityAmount","attribute":false,"wrapped":false}},"intervalCapacityUnitId":{"type":"string","xml":{"name":"intervalCapacityUnitId","attribute":false,"wrapped":false}},"secondaryApprovalNumber":{"type":"string","xml":{"name":"secondaryApprovalNumber","attribute":false,"wrapped":false}},"secondarySerialNumber":{"type":"string","xml":{"name":"secondarySerialNumber","attribute":false,"wrapped":false}},"serialNumber":{"type":"string","xml":{"name":"serialNumber","attribute":false,"wrapped":false}},"similarDeviceToken":{"type":"string","xml":{"name":"similarDeviceToken","attribute":false,"wrapped":false}},"tradeSectorId":{"format":"int32","type":"integer","xml":{"name":"tradeSectorId","attribute":false,"wrapped":false}}}},"RestEstablishmentForm":{"title":"RestEstablishmentForm","type":"object","properties":{"addressValidationToken":{"type":"string"},"bannerCode":{"type":"string"},"city":{"type":"string"},"commentTextId":{"format":"int32","type":"integer"},"comments":{"type":"string"},"contactEmail":{"type":"string"},"contactName":{"type":"string"},"contactTitle":{"type":"string"},"directions":{"type":"string"},"employeeId":{"type":"string"},"manufacturerIndicator":{"type":"boolean"},"name":{"type":"string"},"notes":{"type":"string","xml":{"name":"notes","attribute":false,"wrapped":false}},"operatingName":{"type":"string"},"postalCode":{"type":"string"},"provinceCode":{"type":"string"},"street":{"type":"string"},"telephoneNumber":{"type":"string"}},"xml":{"name":"RestEstablishmentForm","attribute":false,"wrapped":false}},"RestEstablishmentMergerForm":{"title":"RestEstablishmentMergerForm","type":"object","properties":{"commentTextId":{"format":"int32","type":"integer","xml":{"name":"commentTextId","attribute":false,"wrapped":false}},"comments":{"type":"string","xml":{"name":"comments","attribute":false,"wrapped":false}},"sourceEstablishmentNos":{"type":"array","items":{"format":"int32","type":"integer"}},"targetEstablishmentNo":{"format":"int32","type":"integer"},"technicianId":{"type":"string"}},"xml":{"name":"RestEstablishmentMergerForm","attribute":false,"wrapped":false}},"RestInspectionConfirmationForm":{"title":"RestInspectionConfirmationForm","type":"object","properties":{"certificateLanguageCode":{"type":"string","xml":{"name":"certificateLanguageCode","attribute":false,"wrapped":false}},"comments":{"type":"string","xml":{"name":"comments","attribute":false,"wrapped":false}},"restContactForm":{"$ref":"#/components/schemas/RestContactForm"}},"xml":{"name":"RestInspectionConfirmationForm","attribute":false,"wrapped":false}},"RestInspectionResultForm":{"title":"RestInspectionResultForm","type":"object","properties":{"asFoundCode":{"type":"string","xml":{"name":"asFoundCode","attribute":false,"wrapped":false}},"bannerCode":{"type":"string","xml":{"name":"bannerCode","attribute":false,"wrapped":false}},"deviceId":{"format":"int32","type":"integer","xml":{"name":"deviceId","attribute":false,"wrapped":false}},"deviceSealStatusId":{"format":"int32","type":"integer","xml":{"name":"deviceSealStatusId","attribute":false,"wrapped":false}},"inspectionComment":{"type":"string","xml":{"name":"inspectionComment","attribute":false,"wrapped":false}},"inspectionTypeCode":{"type":"string","xml":{"name":"inspectionTypeCode","attribute":false,"wrapped":false}},"mcInspector":{"type":"string","xml":{"name":"mcInspector","attribute":false,"wrapped":false}},"physicalStandardIds":{"type":"array","items":{"type":"string"},"xml":{"name":"physicalStandardIds","attribute":false,"wrapped":false}},"physicalStandardTypeId":{"format":"int32","type":"integer","xml":{"name":"physicalStandardTypeId","attribute":false,"wrapped":false}},"productTypeCodeId":{"format":"int32","type":"integer","xml":{"name":"productTypeCodeId","attribute":false,"wrapped":false}},"resultsCode":{"type":"string","xml":{"name":"resultsCode","attribute":false,"wrapped":false}},"temperatureStdId":{"type":"string","xml":{"name":"temperatureStdId","attribute":false,"wrapped":false}}},"xml":{"name":"RestInspectionResultForm","attribute":false,"wrapped":false}},"RestTransferDeviceForm":{"title":"RestTransferDeviceForm","required":["deviceTradeSectorProductCodes","receivingEstablishmentContactForm","receivingEstablishmentId","sendingEstablishmentContactForm"],"type":"object","properties":{"deviceTradeSectorProductCodes":{"description":"{\"deviceId\":\"int\",\"tradeSector\":\"int\",\"productTypeCode\":\"int\"}","type":"array","items":{"$ref":"#/components/schemas/DeviceTradeSectorProductCode"}},"receivingEstablishmentContactForm":{"$ref":"#/components/schemas/RestContactLanguageForm"},"receivingEstablishmentId":{"format":"int32","description":"9999999","type":"integer"},"sendingEstablishmentContactForm":{"$ref":"#/components/schemas/RestContactLanguageForm"}},"xml":{"name":"RestTransferDeviceForm","attribute":false,"wrapped":false}},"RestUpdateInspectionForm":{"title":"RestUpdateInspectionForm","type":"object","properties":{"selectedDevices":{"type":"array","items":{"format":"int32","type":"integer"},"xml":{"name":"selectedDevices","attribute":false,"wrapped":false}},"woRefNum":{"type":"string","xml":{"name":"woRefNum","attribute":false,"wrapped":false}}},"xml":{"name":"RestUpdateInspectionForm","attribute":false,"wrapped":false}},"RestWorkOrderForm":{"title":"RestWorkOrderForm","type":"object","properties":{"dateOfExamination":{"type":"string","xml":{"name":"dateOfExamination","attribute":false,"wrapped":false}},"establishmentNo":{"format":"int32","type":"integer","xml":{"name":"establishmentNo","attribute":false,"wrapped":false}},"selectedDevices":{"type":"array","items":{"format":"int32","type":"integer"},"xml":{"name":"selectedDevices","attribute":false,"wrapped":false}},"technicianUserId":{"type":"string","xml":{"name":"technicianUserId","attribute":false,"wrapped":false}},"woRefNum":{"type":"string","xml":{"name":"woRefNum","attribute":false,"wrapped":false}}},"xml":{"name":"RestWorkOrderForm","attribute":false,"wrapped":false}},"SubCodeTableResource":{"title":"SubCodeTableResource","type":"object","properties":{"description":{"type":"string","xml":{"name":"description","attribute":false,"wrapped":false}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"xml":{"name":"link","namespace":"http://www.w3.org/2005/Atom","attribute":false,"wrapped":false}},"subcode":{"type":"string","xml":{"name":"subcode","attribute":false,"wrapped":false}}},"xml":{"name":"SubCodeTableResource","attribute":false,"wrapped":false}}},"securitySchemes":{"user-key":{"type":"apiKey","description":"Your API access key","name":"user-key","in":"header"}}},"security":[{"user-key":[]}],"tags":[{"name":"codetables","description":"APIs to retrieve code table information"},{"name":"establishments","description":"APIs to manage establishments"},{"name":"help","description":"Helper APIs"},{"name":"examinations","description":"APIs to manage examinations"}]}