{"openapi":"3.0.0","info":{"description":"This API is used with the Alpha Tracker asbestos management software. To request your Client ID and API Key please contact support@start-software.com.","version":"1.1.0","title":"Alpha Tracker API","contact":{"name":"Alpha Tracker","url":"https://alpha-tracker.co.uk","email":"support@start-software.com"},"license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"}},"security":[{"Alpha_Tracker_API_Key":[],"Client_ID":[]}],"tags":[{"name":"Appointments"},{"name":"Buildings"},{"name":"Files"},{"name":"Milestones"},{"name":"Projects"},{"name":"Project Types"},{"name":"Quotations"},{"name":"Reinspection"},{"name":"Repair Instructions"},{"name":"Reports"},{"name":"Samples"},{"name":"Sites"},{"name":"Site Buildings"},{"name":"Staff"},{"name":"Survey Items"}],"paths":{"/quotations/{quoteReference}":{"get":{"tags":["Quotations"],"summary":"Gets a quotation","description":"Returns information about a specific quotation","parameters":[{"in":"path","name":"quoteReference","description":"The Quote Reference to retrieve","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Quotation found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quotation"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Quotation not found"}}}},"/quotations/search":{"get":{"tags":["Quotations"],"summary":"Returns a list of quotations based on search criteria","description":"Returns a list of quotations using search filters","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/paginate"},{"$ref":"#/components/parameters/pageNumber"}],"responses":{"200":{"description":"Quotations found","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/QuotationsPaginated"},{"$ref":"#/components/schemas/Quotations"}]}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/repairinstructions/search":{"get":{"tags":["Repair Instructions"],"summary":"Returns a list of repair instructions based on search criteria","description":"Returns a list of repair instructions using search filters","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/paginate"},{"$ref":"#/components/parameters/pageNumber"}],"responses":{"200":{"description":"Repair instructions found","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/RepairInstructionsPaginated"},{"$ref":"#/components/schemas/RepairInstructions"}]}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/repairinstructions/repairinstruction/{repairInstructionId}":{"get":{"tags":["Repair Instructions"],"summary":"Gets a repair instruction","description":"Returns information about a specific repair instruction","parameters":[{"in":"path","name":"repairInstructionId","description":"The repair instruction ID to retrieve","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Repair instruction found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepairInstruction"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Repair instruction not found"}}}},"/samples/{projectNumber}":{"get":{"tags":["Samples"],"summary":"Gets a list of samples from a project","description":"Returns a list of samples associated with a project","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to retrieve samples from","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Samples found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Samples"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"No samples found"}}},"post":{"tags":["Samples"],"summary":"Create samples for a project","description":"Adds one or more samples to the specified project.","parameters":[{"in":"path","name":"projectNumber","description":"The project number to add samples to","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["sampleId","material"],"properties":{"sampleId":{"type":"string","description":"Unique identifier for the sample"},"locationDescription":{"type":"string","description":"Description of the sample location"},"item":{"type":"string","description":"The item description"},"material":{"type":"string","description":"The material description"}}}}}}},"responses":{"201":{"description":"Samples created successfully"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/sites":{"post":{"tags":["Sites"],"summary":"Creates a site","description":"Creates a site with the information provided","requestBody":{"content":{"application/json":{"schema":{"properties":{"clientId":{"type":"string","description":"The Client ID to create the site with","maxLength":255},"siteName":{"type":"string","description":"The name of the site to create","maxLength":255},"siteAddress":{"type":"string","description":"The address of the site to create"},"sitePostcode":{"type":"string","description":"The postcode of the site to create","maxLength":50},"siteReference":{"type":"string","description":"The reference/UPRN of the site to create","maxLength":50},"siteContactName":{"type":"string","description":"The name of the main contact for the site","maxLength":50},"siteContactTelephone":{"type":"string","description":"The telephone of the main contact for the site","maxLength":50},"siteContactEmail":{"type":"string","description":"The email of the main contact for the site","maxLength":150,"format":"email"},"landlord":{"type":"string","description":"The landlord for the site","maxLength":250}}}}},"required":true},"responses":{"201":{"description":"Site created","content":{"application/json":{"schema":{"type":"object","properties":{"siteId":{"type":"integer","description":"The Site ID created"}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/sites/{siteId}":{"get":{"tags":["Sites"],"summary":"Gets a site","description":"Returns information about a specific site\n","parameters":[{"in":"path","name":"siteId","description":"The Site ID you want to retrieve","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Site found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Site"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}},"patch":{"tags":["Sites"],"summary":"Updates a site","description":"Updates a site with the information provided","parameters":[{"in":"path","name":"siteId","description":"The Site ID you want to update","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"siteName":{"type":"string","description":"The new site name"},"siteAddress":{"type":"string","description":"The new site address"},"sitePostcode":{"type":"string","description":"The new site postcode"},"siteReference":{"type":"string","description":"The new site reference"},"siteContactName":{"type":"string","description":"The new name of thesite contact"},"siteContactTelephone":{"type":"string","description":"The new telephone number of the site contact"},"siteContactEmail":{"type":"string","description":"The new email address of the site contact","format":"email"},"landlord":{"type":"string","description":"The new landlord of the site"}}}}},"required":true},"responses":{"200":{"description":"Site updated"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}},"delete":{"tags":["Sites"],"summary":"Deletes a site","description":"Deletes the specified site","parameters":[{"in":"path","name":"siteId","description":"The Site ID you want to delete","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Site deleted"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Site not found"}}}},"/sites/search":{"get":{"tags":["Sites"],"summary":"Returns a list of sites based on search criteria","description":"Returns a list of sites based on specified search criteria","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/paginate"},{"$ref":"#/components/parameters/pageNumber"}],"responses":{"200":{"description":"Sites found","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/SitesPaginated"},{"$ref":"#/components/schemas/Sites"}]}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/projects":{"post":{"tags":["Projects"],"summary":"Creates a project","description":"Creates a project with the data provided","requestBody":{"content":{"application/json":{"schema":{"required":["projectLetter","clientId"],"properties":{"projectLetter":{"type":"string","description":"The project letter to create the project with","maxLength":1},"clientId":{"type":"string","description":"The Client ID associated with the project","maxLength":255},"clientOrderNumber":{"type":"string","description":"The Client Order Number","maxLength":50},"clientProjectRef":{"type":"string","description":"The Client Project Ref","maxLength":50},"siteId":{"type":"integer","description":"The Site ID associated with the project"},"reportRecipientName1":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress1":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName2":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress2":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName3":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress3":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName4":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress4":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName5":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress5":{"type":"string","description":"The report recipient's email address","maxLength":255},"invoiceRecipientName":{"type":"string","description":"The invoice recipient's name","maxLength":255},"projectManagerId":{"type":"integer","description":"The Staff ID of the project manager"},"projectTypeId":{"type":"integer","description":"The Project Type ID"},"estimatedTotalProjectValue":{"type":"integer","description":"The estimated total project value"},"status":{"type":"string","description":"The status of the project"},"statusNotes":{"type":"string","description":"The status notes of the project"},"allocationStatus":{"type":"string","description":"The allocation status of the project"},"projectOpened":{"type":"string","format":"date","description":"Project opened date"},"quoteProduced":{"type":"string","format":"date","description":"Quote produced date"},"orderReceived":{"type":"string","format":"date","description":"Order received date"},"reportProduced":{"type":"string","format":"date","description":"Report produced date"},"projectInvoiced":{"type":"string","format":"date","description":"Project invoiced date"},"projectClosed":{"type":"string","format":"date","description":"Project closed date"},"projectNotes":{"type":"string","description":"The project notes"},"showOnWeb":{"type":"boolean","description":"If the project is shown on the client portal"}}}}},"required":true},"responses":{"201":{"description":"Project created","content":{"application/json":{"schema":{"type":"object","properties":{"projectNumber":{"type":"string","description":"The project number created","maxLength":50}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/projects/{projectNumber}":{"get":{"tags":["Projects"],"summary":"Gets a project","description":"Returns information about the specified project","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to retrieve","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Project found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Project not found"}}},"patch":{"tags":["Projects"],"summary":"Updates a project","description":"Updates a project with the data provided","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to update","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"clientId":{"type":"string","description":"The Client ID associated with the project","maxLength":255},"clientOrderNumber":{"type":"string","description":"The Client Order Number","maxLength":50},"clientProjectRef":{"type":"string","description":"The Client Project Ref","maxLength":50},"siteId":{"type":"integer","description":"The Site ID associated with the project"},"reportRecipientName1":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress1":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName2":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress2":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName3":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress3":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName4":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress4":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName5":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress5":{"type":"string","description":"The report recipient's email address","maxLength":255},"invoiceRecipientName":{"type":"string","description":"The invoice recipient's name","maxLength":255},"projectManagerId":{"type":"integer","description":"The Staff ID of the project manager"},"projectTypeId":{"type":"integer","description":"The Project Type ID"},"estimatedTotalProjectValue":{"type":"integer","description":"The estimated total project value"},"status":{"type":"string","description":"The status of the project"},"statusNotes":{"type":"string","description":"The status notes of the project"},"allocationStatus":{"type":"string","description":"The allocation status of the project"},"quoteProduced":{"type":"string","format":"date","description":"Quote produced date"},"orderReceived":{"type":"string","format":"date","description":"Order received date"},"reportProduced":{"type":"string","format":"date","description":"Report produced date"},"projectInvoiced":{"type":"string","format":"date","description":"Project invoiced date"},"projectClosed":{"type":"string","format":"date","description":"Project closed date"},"projectNotes":{"type":"string","description":"The project notes"},"showOnWeb":{"type":"boolean","description":"If the project is shown on the client portal"}}}}},"required":true},"responses":{"200":{"description":"Project updated"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Project not found"}}},"delete":{"tags":["Projects"],"summary":"Deletes a project","description":"Deletes the specified project number","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to delete","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Project deleted"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Project not found"}}}},"/projects/search":{"get":{"tags":["Projects"],"summary":"Returns a list of projects based on search criteria","description":"Returns a list of projects based on specified search criteria","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/paginate"},{"$ref":"#/components/parameters/pageNumber"}],"responses":{"200":{"description":"Projects found","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProjectsPaginated"},{"$ref":"#/components/schemas/Projects"}]}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/milestones/{projectNumber}":{"get":{"tags":["Milestones"],"summary":"Gets a list of milestones for a project","description":"Returns a list of milestones for a specific project\n","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to retrieve the milestones from","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Milestones found","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"milestone":{"type":"string","description":"The name of the milestone"},"position":{"type":"integer","description":"The position number of the milestone"},"targetDate":{"type":"string","format":"date","description":"The target date of completion"},"assignedToId":{"type":"integer","description":"The Staff ID the milestone is assigned to"},"completionDate":{"type":"string","format":"date","description":"Thedate of completion"},"completedById":{"type":"integer","description":"The Staff ID the milestone was completed by"},"notes":{"type":"string","description":"The notes recorded against the milestone"}}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Project not found"}}}},"/buildings/{projectNumber}":{"post":{"tags":["Buildings"],"summary":"Creates a building","description":"Creates a building under the project specified","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to host the buildings under","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"buildingRef":{"type":"string","description":"The Building Ref/UPRN to create the building with","maxLength":50},"buildingName":{"type":"string","description":"The Building Name to create the building with","maxLength":255}}}}},"required":true},"responses":{"200":{"description":"Building created"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}},"get":{"tags":["Buildings"],"summary":"Gets a list of buildings for a project","description":"Returns a list of buildings for a specific project","parameters":[{"in":"path","name":"projectNumber","description":"The project number that hosts the buildings","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Buildings found","content":{"application/json":{"schema":{"type":"object","properties":{"buildingId":{"type":"integer","description":"The ID of the building"},"buildingRef":{"type":"string","description":"The Building Ref/UPRN of the building","maxLength":50},"buildingName":{"type":"string","description":"The name of the building","maxLength":255}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/sitebuildings/{siteId}":{"post":{"tags":["Site Buildings"],"summary":"Creates a site building","description":"Creates a site building under the site specified","parameters":[{"in":"path","name":"siteId","description":"The site id you want to host the buildings under","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"buildingRef":{"type":"string","description":"The Building Ref/UPRN to create the site building with","maxLength":50},"buildingName":{"type":"string","description":"The Building Name to create the site building with","maxLength":255},"buildingAddress":{"type":"string","description":"The Building Address to create the site building with","maxLength":250},"buildingPostcode":{"type":"string","description":"The Building Postcode to create the site building with","maxLength":10}}}}},"required":true},"responses":{"200":{"description":"Site Building created"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}},"get":{"tags":["Site Buildings"],"summary":"Gets a list of buildings for a site","description":"Returns a list of buildings for a specific site","parameters":[{"in":"path","name":"siteId","description":"The site id that hosts the buildings","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Site Buildings found","content":{"application/json":{"schema":{"type":"object","properties":{"siteBuildingId":{"type":"integer","description":"The ID of the building"},"buildingRef":{"type":"string","description":"The Building Ref/UPRN of the building","maxLength":50},"buildingName":{"type":"string","description":"The name of the building","maxLength":255},"buildingAddress":{"type":"string","description":"The address of the building","maxLength":250},"buildingPostcode":{"type":"string","description":"The postcode of the building","maxLength":10}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/surveyitems/item/{surveyItemId}":{"get":{"tags":["Survey Items"],"summary":"Gets a survey item","description":"Returns data about a specific survey item\n","parameters":[{"in":"path","name":"surveyItemId","description":"The survey item ID you want to retrieve","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Survey item found","content":{"application/json":{"schema":{"type":"object","properties":{"date":{"type":"string","format":"date","description":"The date of the item"},"floor":{"type":"string","maxLength":5,"description":"The floor the item is located"},"location":{"type":"string","maxLength":100,"description":"The location number/reference the item is located"},"locationDescription":{"type":"string","maxLength":255,"description":"The description of where the item is located"},"item":{"type":"string","maxLength":150,"description":"The item description"},"materialCode":{"type":"string","maxLength":3,"description":"The material code of the item"},"materialDescription":{"type":"string","maxLength":100,"description":"The material description"},"noAccess":{"type":"boolean","description":"Whether or not the item was accessible. True if no access is gained"},"approach":{"type":"string","maxLength":50,"description":"The approach of the item, e.g. S for Sampled, P for Presumed etc."},"sampleNumber":{"type":"string","maxLength":255,"description":"The sample number if applicable"},"sampleNotes":{"type":"string","description":"The notes about the sample if applicable"},"extent":{"type":"string","maxLength":50,"description":"The measurement of the item"},"UoM":{"type":"string","maxLength":50,"description":"The unit of measure"},"productTypeScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the product type"},"productTypeDescription":{"type":"string","maxLength":250,"description":"The description of the product type"},"conditionScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the condition"},"conditionDescription":{"type":"string","maxLength":250,"description":"The description of the condition of the item"},"surfaceTreatmentScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the surface treatment"},"surfaceTreatmentDescription":{"type":"string","maxLength":250,"description":"The description of the surface treatment"},"asbestosTypeScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the asbestos type."},"identification":{"type":"string","maxLength":250,"description":"The identification / asbestos type description"},"materialScore":{"minimum":0,"maximum":12,"type":"integer","description":"The overall material score"},"priorityScore":{"type":"integer","minimum":0,"maximum":12,"description":"The overall priority score"},"totalScore":{"type":"integer","minimum":0,"maximum":24,"description":"The overall total score"},"recommendedAction":{"type":"string","maxLength":255,"description":"The recommended action for the item"},"recommendationComments":{"type":"string","description":"The recommendation comments"},"photoFilename":{"type":"string","maxLength":250,"description":"The filename of the photo"},"closeUpPhotoFilename":{"type":"string","maxLength":250,"description":"The filename of the close-up photo"}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Survey item not found"}}}},"/surveyitems/{projectNumber}":{"get":{"tags":["Survey Items"],"summary":"Gets a list of survey items for a project","description":"Returns a list of survey items for a project\n","parameters":[{"in":"path","name":"projectNumber","description":"The project number for the survey items you want to retrieve","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Survey items found","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date","description":"The date of the item"},"floor":{"type":"string","maxLength":5,"description":"The floor the item is located"},"location":{"type":"string","maxLength":100,"description":"The location number/reference the item is located"},"locationDescription":{"type":"string","maxLength":255,"description":"The description of where the item is located"},"item":{"type":"string","maxLength":150,"description":"The item description"},"materialCode":{"type":"string","maxLength":3,"description":"The material code of the item"},"materialDescription":{"type":"string","maxLength":100,"description":"The material description"},"noAccess":{"type":"boolean","description":"Whether or not the item was accessible. True if no access is gained"},"approach":{"type":"string","maxLength":50,"description":"The approach of the item, e.g. S for Sampled, P for Presumed etc."},"sampleNumber":{"type":"string","maxLength":255,"description":"The sample number if applicable"},"sampleNotes":{"type":"string","description":"The notes about the sample if applicable"},"extent":{"type":"string","maxLength":50,"description":"The measurement of the item"},"UoM":{"type":"string","maxLength":50,"description":"The unit of measure"},"productTypeScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the product type"},"productTypeDescription":{"type":"string","maxLength":250,"description":"The description of the product type"},"conditionScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the condition"},"conditionDescription":{"type":"string","maxLength":250,"description":"The description of the condition of the item"},"surfaceTreatmentScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the surface treatment"},"surfaceTreatmentDescription":{"type":"string","maxLength":250,"description":"The description of the surface treatment"},"asbestosTypeScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the asbestos type."},"identification":{"type":"string","maxLength":250,"description":"The identification / asbestos type description"},"materialScore":{"minimum":0,"maximum":12,"type":"integer","description":"The overall material score"},"priorityScore":{"type":"integer","minimum":0,"maximum":12,"description":"The overall priority score"},"totalScore":{"type":"integer","minimum":0,"maximum":24,"description":"The overall total score"},"recommendedAction":{"type":"string","maxLength":255,"description":"The recommended action for the item"},"recommendationComments":{"type":"string","description":"The recommendation comments"},"photoFilename":{"type":"string","maxLength":250,"description":"The filename of the photo"},"closeUpPhotoFilename":{"type":"string","maxLength":250,"description":"The filename of the close-up photo"}}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Project not found"}}}},"/files/projects/{projectNumber}":{"get":{"tags":["Files"],"summary":"Gets a list of files in a project folder","description":"Returns a list of files in a project folder\n","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to retrieve a list files from","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Files found","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"bytes":{"type":"integer"},"modified":{"type":"string","format":"datetime"},"created":{"type":"string","format":"datetime"}}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/files/projects/{projectNumber}/download":{"get":{"tags":["Files"],"summary":"Downloads a file from a project folder","description":"Returns the specified file from the project folder\n","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to retrieve the file from","required":true,"schema":{"type":"string"}},{"in":"query","name":"filename","description":"The filename of the file you want to download","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"File binary returned","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/files/projects/{projectNumber}/download/bulkcertificate":{"get":{"tags":["Files"],"summary":"Downloads the bulk certificate file from a project folder","description":"Returns the the bulk certificate file from the project folder\n","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to retrieve the file from","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"File binary returned","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/files/projects/{projectNumber}/upload":{"post":{"tags":["Files"],"summary":"Uploads a file to a project folder","description":"Uploads a new file into the specified project's folder.\n\nIf a file with the same name already exists in the project folder, the upload is rejected with a 409\nresponse containing a `confirmationUrl`. To overwrite the existing file, POST the same \"filename\" and\n\"file\" form-data fields to the returned `confirmationUrl`.\n","parameters":[{"in":"path","name":"projectNumber","description":"The project number you want to upload the file to","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["filename","file"],"properties":{"filename":{"type":"string","description":"The filename to save the uploaded file as, including its extension"},"file":{"type":"string","format":"binary","description":"The file content to upload"}}}}}},"responses":{"201":{"description":"File created"},"400":{"description":"Bad request. Filename or file content is missing"},"401":{"description":"Unauthorized"},"403":{"description":"The file is not allowed"},"404":{"description":"Project number not found"},"409":{"description":"A file with this filename already exists in the project folder. To overwrite the existing file, POST the same \"filename\" and \"file\" form-data fields to the returned confirmationUrl","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"confirmationUrl":{"type":"string","description":"A time-limited URL to POST the same \"filename\" and \"file\" form-data to in\norder to confirm overwriting the existing file. Returns 410 if POSTed to after it has expired\n"}}}}}},"500":{"description":"There was a problem writing the file. Please try again."}}}},"/staff":{"get":{"tags":["Staff"],"summary":"Gets a list of staff","description":"Returns a list of staff\n","responses":{"200":{"description":"Staff found","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"staffId":{"type":"integer"},"name":{"type":"string"},"emailAddress":{"type":"string"},"mobileNumber":{"type":"string"},"unitId":{"type":"string"}}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/reinspection":{"post":{"tags":["Reinspection"],"summary":"Sends re-inspection data to a handset","description":"Send re-inspection data to a specified staff member under a specific project\n","requestBody":{"content":{"application/json":{"schema":{"properties":{"projectNumber":{"type":"string","description":"The project number that the re-inspection is due to be completed under"},"staffId":{"type":"integer","description":"The staff member doing the re-inspection"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"buildingId":{"type":"integer"},"floor":{"type":"string","maxLength":5,"description":"The floor the item is located"},"location":{"type":"string","maxLength":100,"description":"The location number/reference the item is located"},"locationDescription":{"type":"string","maxLength":255,"description":"The description of where the item is located"},"item":{"type":"string","maxLength":150,"description":"The item description"},"materialCode":{"type":"string","maxLength":3,"description":"The material code of the item"},"materialDescription":{"type":"string","maxLength":100,"description":"The material description"},"noAccess":{"type":"boolean","description":"Whether or not the item was accessible. True if no access is gained"},"approach":{"type":"string","maxLength":50,"description":"The approach of the item, e.g. S for Sampled, P for Presumed etc."},"sampleNumber":{"type":"string","maxLength":255,"description":"The sample number if applicable"},"sampleNotes":{"type":"string","description":"The notes about the sample if applicable"},"extent":{"type":"string","maxLength":50,"description":"The measurement of the item"},"UoM":{"type":"string","maxLength":50,"description":"The unit of measure"},"productTypeScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the product type"},"conditionScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the condition"},"surfaceTreatmentScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the surface treatment"},"asbestosTypeScore":{"type":"integer","minimum":0,"maximum":3,"description":"The score of the asbestos type."},"identification":{"type":"string","maxLength":250,"description":"The identification / asbestos type description"},"recommendedAction":{"type":"string","maxLength":255,"description":"The recommended action for the item"},"recommendationComments":{"type":"string","description":"The recommendation comments"}}}}}}}}}},"required":true},"responses":{"200":{"description":"Re-inspection data sent"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/reports/{category}":{"get":{"tags":["Reports"],"summary":"Gets a list of reports in a category","description":"Returns a list of reports in a category\n","parameters":[{"in":"path","name":"category","description":"The report category you want to retrieve","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Reports found","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"reportName":{"type":"string"},"reportDescription":{"type":"string"},"parameter1":{"type":"string"},"parameter2":{"type":"string"},"parameter3":{"type":"string"},"parameter4":{"type":"string"},"parameter5":{"type":"string"},"parameter6":{"type":"string"},"parameter7":{"type":"string"},"parameter8":{"type":"string"},"parameter9":{"type":"string"}}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/reports/{category}/{reportName}":{"post":{"tags":["Reports"],"summary":"Runs a report","description":"Runs a report and outputs data in the desired format\n","parameters":[{"in":"path","name":"category","description":"The category of the report","required":true,"schema":{"type":"string"}},{"in":"path","name":"reportName","description":"The name of the report","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"format":{"type":"string","description":"The format of the report output. Can be \"csv\", \"json\", \"xls\" or \"xlsx\""},"parameters":{"type":"object","description":"A list of parameter values if applicable","properties":{"parameter1":{"type":"string"},"parameter2":{"type":"string"},"parameter3":{"type":"string"},"parameter4":{"type":"string"},"parameter5":{"type":"string"},"parameter6":{"type":"string"},"parameter7":{"type":"string"},"parameter8":{"type":"string"},"parameter9":{"type":"string"}}}}}}},"required":true},"responses":{"200":{"description":"Report generated"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/projecttypes":{"get":{"tags":["Project Types"],"summary":"Gets a list of project types","description":"Returns a list of project types\n","responses":{"200":{"description":"Project types found","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"projectTypeId":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"dateActive":{"type":"string","format":"date"},"dateInactive":{"type":"string","format":"date"}}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/appointments/{projectNumber}":{"get":{"tags":["Appointments"],"summary":"Gets a list of appointments for a project","description":"Returns a list of appointments for a specific project number","parameters":[{"in":"path","name":"projectNumber","description":"The project number to retrieve the appointments from","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Appointments found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Appointments"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Project not found"}}},"post":{"tags":["Appointments"],"summary":"Creates an appointment for a project","description":"Create an appointment for a project","parameters":[{"in":"path","name":"projectNumber","description":"The project to create the appointment under","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["staffId"],"properties":{"staffId":{"type":"integer","description":"The Staff ID associated with the appointment"},"staffRole":{"type":"string","description":"The role of the staff member"},"startTime":{"type":"string","format":"date-time","description":"The start time of the appointment"},"endTime":{"type":"string","format":"date-time","description":"The end time of the appointment"},"location":{"type":"string","description":"The location of the appointment"},"confirmed":{"type":"boolean","description":"If the appointment has been confirmed"},"cannotMove":{"type":"boolean","description":"If the appointment cannot be moved"},"tentative":{"type":"boolean","description":"If the appointment is tentative"},"writeUp":{"type":"boolean","description":"If the appointment is a write-up"},"notes":{"type":"string","description":"The notes against the appointment"}}}}},"required":true},"responses":{"201":{"description":"Appointment created","content":{"application/json":{"schema":{"type":"object","properties":{"appointmentId":{"type":"integer","description":"The Appointment ID created"}}}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/appointments/search":{"get":{"tags":["Appointments"],"summary":"Returns a list of appointments based on search criteria","description":"Returns a list of appointments based on specified search criteria","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/paginate"},{"$ref":"#/components/parameters/pageNumber"}],"responses":{"200":{"description":"Appointments found","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AppointmentsPaginated"},{"$ref":"#/components/schemas/Appointments"}]}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}},"/appointments/appointment/{appointmentId}":{"patch":{"tags":["Appointments"],"summary":"Updates an appointment","description":"Update an appointment with the information provided","parameters":[{"in":"path","name":"appointmentId","description":"The appointment ID to update","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"projectNumber":{"type":"string","description":"The project number associated with the appointment"},"staffId":{"type":"integer","description":"The Staff ID associated with the appointment"},"staffRole":{"type":"string","description":"The role of the staff member"},"startTime":{"type":"string","format":"date-time","description":"The start time of the appointment"},"endTime":{"type":"string","format":"date-time","description":"The end time of the appointment"},"location":{"type":"string","description":"The location of the appointment"},"confirmed":{"type":"boolean","description":"If the appointment has been confirmed"},"cannotMove":{"type":"boolean","description":"If the appointment cannot be moved"},"tentative":{"type":"boolean","description":"If the appointment is tentative"},"writeUp":{"type":"boolean","description":"If the appointment is a write-up"},"notes":{"type":"string","description":"The notes against the appointment"}}}}},"required":true},"responses":{"201":{"description":"Appointment updated"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}},"delete":{"tags":["Appointments"],"summary":"Deletes an appointment","description":"Delete an appointment with the information provided","parameters":[{"in":"path","name":"appointmentId","description":"The appointment ID to delete","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"Appointment deleted"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}}},"servers":[{"url":"https://manager.alphatracker.co.uk/api","description":"Production server"}],"components":{"parameters":{"filter":{"in":"query","name":"filter","description":"A filter used to search for records\n\nThe following operators can be used\n\n| Operator | Description |\n| ------- | --------|\n| =   | Equal   |\n| >   | Greater than   |\n| <   | Less than   |\n| >=   | Greater than or equal   |\n| <=   |   Less than or equal   |\n| BETWEEN   |   Between a certain range   |\n| LIKE   |   Search for a pattern   |\n| IN   |     To specify multiple possible values for a column   |\n\nThey can be combined with AND, OR, and NOT operators\n","required":true,"schema":{"type":"string"}},"limit":{"in":"query","name":"limit","description":"Limits the amount of records that are returned, can be used with or without the paginate parameter","required":false,"schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},"paginate":{"in":"query","name":"paginate","description":"Enables / disables the results being paginated","required":false,"schema":{"type":"boolean","default":true}},"pageNumber":{"in":"query","name":"pageNumber","description":"The page number to load if pagination is enabled","required":false,"schema":{"type":"integer","default":1,"minimum":1}}},"schemas":{"Pagination":{"type":"object","properties":{"totalRecords":{"type":"integer"},"totalPages":{"type":"integer","minimum":1},"currentPage":{"type":"integer"},"nextPage":{"type":"integer"},"nextPageUrl":{"type":"string","format":"uri"},"previousPage":{"type":"integer"},"previousPageUrl":{"type":"string","format":"uri"}}},"Appointment":{"type":"object","properties":{"appointmentId":{"type":"integer","description":"The ID of the appointment"},"staffId":{"type":"integer","description":"The Staff ID associated with the appointment"},"staffName":{"type":"string","description":"The name of the staff member"},"staffRole":{"type":"string","description":"The role of the staff member"},"projectNumber":{"type":"string","description":"The project number associated with the appointment"},"startTime":{"type":"string","format":"date-time","description":"The start time of the appointment"},"endTime":{"type":"string","format":"date-time","description":"The end time of the appointment"},"location":{"type":"string","description":"The location of the appointment"},"confirmed":{"type":"boolean","description":"If the appointment has been confirmed"},"cannotMove":{"type":"boolean","description":"If the appointment cannot be moved"},"tentative":{"type":"boolean","description":"If the appointment is tentative"},"writeUp":{"type":"boolean","description":"If the appointment is a write-up"},"incomplete":{"type":"boolean","description":"If the appointment has been marked as incomplete"},"incompleteDate":{"type":"string","format":"date-time","description":"The date and time the appointment has been marked as incomplete (if applicable)"},"incompleteReason":{"type":"string","description":"The reason the appointment has been marked as incomplete (if applicable)"},"notes":{"type":"string","description":"The notes against the appointment"}}},"Appointments":{"type":"array","items":{"$ref":"#/components/schemas/Appointment"}},"AppointmentsPaginated":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Appointment"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"Project":{"type":"object","properties":{"projectNumber":{"type":"string","description":"The Project Number retrieved","maxLength":50},"clientId":{"type":"string","description":"The Client ID associated with the project","maxLength":255},"clientName":{"type":"string","description":"The name of the client","maxLength":150},"clientOrderNumber":{"type":"string","description":"The Client Order Number","maxLength":50},"clientProjectRef":{"type":"string","description":"The Client Project Ref","maxLength":50},"siteId":{"type":"integer","description":"The Site ID associated with the project"},"siteName":{"type":"string","description":"The site name","maxLength":250},"siteAddress":{"type":"string","description":"The site address"},"sitePostcode":{"type":"string","description":"The site postcode","maxLength":50},"siteReference":{"type":"string","description":"The site reference/UPRN","maxLength":50},"siteContact":{"type":"string","description":"The main site contact name","maxLength":255},"landlord":{"type":"string","description":"The site landlord","maxLength":250},"reportRecipientName1":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress1":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName2":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress2":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName3":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress3":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName4":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress4":{"type":"string","description":"The report recipient's email address","maxLength":255},"reportRecipientName5":{"type":"string","description":"The report recipient's name","maxLength":255},"reportRecipientEmailAddress5":{"type":"string","description":"The report recipient's email address","maxLength":255},"invoiceRecipientName":{"type":"string","description":"The invoice recipient's name","maxLength":255},"projectManagerId":{"type":"integer","description":"The Staff ID of the project manager"},"projectManager":{"type":"string","description":"The name of the project manager"},"projectTypeId":{"type":"integer","description":"The Project Type ID"},"projectType":{"type":"string","description":"The name of the project type","maxLength":50},"estimatedTotalProjectValue":{"type":"integer","description":"The estimated total project value"},"status":{"type":"string","description":"The status of the project"},"statusNotes":{"type":"string","description":"The status notes of the project"},"allocationStatus":{"type":"string","description":"The allocation status of the project"},"projectOpened":{"type":"string","format":"date","description":"Project opened date"},"quoteProduced":{"type":"string","format":"date","description":"Quote produced date"},"orderReceived":{"type":"string","format":"date","description":"Order received date"},"reportProduced":{"type":"string","format":"date","description":"Report produced date"},"projectInvoiced":{"type":"string","format":"date","description":"Project invoiced date"},"projectClosed":{"type":"string","format":"date","description":"Project closed date"},"projectNotes":{"type":"string","description":"The project notes"},"longitude":{"type":"integer"},"latitude":{"type":"integer"},"timestamp":{"type":"integer","format":"int64","description":"A row version that is incremented each time the record is edited. It can be used to find new edits to the database."},"showOnWeb":{"type":"boolean","description":"If the project is shown on the client portal"}}},"Projects":{"type":"array","items":{"$ref":"#/components/schemas/Project"}},"ProjectsPaginated":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Project"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"Site":{"type":"object","properties":{"siteId":{"type":"integer","description":"The Site ID retrieved"},"clientId":{"type":"string","description":"The Client ID associated with the site"},"clientName":{"type":"string","description":"The name of the client"},"siteName":{"type":"string","description":"The name of the site"},"siteAddress":{"type":"string","description":"The address of the site"},"sitePostcode":{"type":"string","description":"The postcode of the site"},"siteReference":{"type":"string","description":"The site reference/UPRN"},"siteContact":{"type":"string","description":"The name of the main contact"},"lastInspectionDate":{"type":"string","format":"date","description":"The last inspection date for the site"},"nextInspectionDate":{"type":"string","format":"date","description":"The next scheduled inspection date"},"inspectionFrequency":{"type":"integer","description":"Frequency of inspections in months"},"status":{"type":"string","description":"The current status of the site"},"category":{"type":"string","description":"The category of the site"},"longitude":{"type":"number","format":"float","description":"Longitude coordinate of the site"},"latitude":{"type":"number","format":"float","description":"Latitude coordinate of the site"}}},"Sites":{"type":"array","items":{"$ref":"#/components/schemas/Site"}},"SitesPaginated":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Site"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"Sample":{"type":"object","properties":{"sampleId":{"type":"string","description":"The Sample ID"},"locationDescription":{"type":"string","description":"The location description"},"item":{"type":"string","description":"The item description"},"material":{"type":"string","description":"The material description"},"identification":{"type":"string","description":"The identification of the sample"}}},"Samples":{"type":"array","items":{"$ref":"#/components/schemas/Sample"}},"Quotation":{"type":"object","properties":{"reference":{"type":"string","description":"The Quotation Reference"},"clientId":{"type":"string","description":"The Client ID associated with the quotation"},"clientName":{"type":"string","description":"The name of the client"},"siteId":{"type":"integer","description":"The Site ID associated with the quotation"},"siteName":{"type":"string","description":"The name of the site"},"siteAddress":{"type":"string","description":"The address of the site"},"sitePostcode":{"type":"string","description":"The postcode of the site"},"status":{"type":"string","description":"The status of the quotation"},"projectType":{"type":"string","description":"The project type name"},"projectTypeId":{"type":"integer","description":"The Project Type ID"},"enquiryReceived":{"type":"string","format":"date","description":"The date the enquiry was received"},"source":{"type":"string","nullable":true,"description":"The source of the quotation"},"decisionDate":{"type":"string","format":"date","description":"The decision date of the quotation"},"clientOrderNumber":{"type":"string","nullable":true,"description":"The client order number"},"contactName":{"type":"string","description":"The name of the contact"},"contactAddress":{"type":"string","description":"The address of the contact"},"contactEmail":{"type":"string","description":"The email address of the contact"},"contactTelephone":{"type":"string","description":"The telephone number of the contact"},"contactMobile":{"type":"string","description":"The mobile number of the contact"},"total":{"type":"number","description":"The total value of the quotation"},"specifications":{"type":"string","description":"The specifications of the quotation"},"specialInstructions":{"type":"string","description":"The special instructions of the quotation"},"timestamp":{"type":"integer","format":"int64","description":"A row version that is incremented each time the record is edited. It can be used to find new edits to the database."}}},"Quotations":{"type":"array","items":{"$ref":"#/components/schemas/Quotation"}},"QuotationsPaginated":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Quotation"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"RepairInstruction":{"type":"object","properties":{"repairInstructionId":{"type":"integer"},"surveyItemId":{"type":"integer"},"originalSurveyItemId":{"type":"integer"},"issueDate":{"type":"string","format":"date"},"inspectionDate":{"type":"string","format":"date"},"targetCompletionDate":{"type":"string","format":"date","nullable":true},"issuedBy":{"type":"string"},"issuedById":{"type":"integer"},"issuedTo":{"type":"string"},"projectNumber":{"type":"string"},"siteId":{"type":"integer"},"buildingId":{"type":"integer"},"location":{"type":"string","nullable":true},"roomName":{"type":"string"},"position":{"type":"string"},"actionCode":{"type":"string"},"materialType":{"type":"string"},"workToBeCompleted":{"type":"string"},"dateCompleted":{"type":"string","format":"date","nullable":true},"comments":{"type":"string","nullable":true},"remediationProjectNumber":{"type":"string","nullable":true},"remediationAnalyst":{"type":"string","nullable":true},"remediationAnalystId":{"type":"integer","nullable":true},"certificateIssued":{"type":"string","format":"date","nullable":true}}},"RepairInstructions":{"type":"array","items":{"$ref":"#/components/schemas/RepairInstruction"}},"RepairInstructionsPaginated":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RepairInstruction"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}},"securitySchemes":{"Alpha_Tracker_API_Key":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your Alpha Tracker API Key"},"Client_ID":{"type":"apiKey","in":"header","name":"client-id","description":"Your Alpha Tracker Client ID"}}}}