{"swaggerDoc":{"swagger":"2.0","schemes":["http","https"],"basePath":"/api","consumes":["application/json"],"produces":["application/json"],"info":{"title":"Activigie","description":"Some informations to consider with this documentation. Ask questions if you think something is missing.\n\n# - /tables/** routes \nThey are pure CRUD method, but can have some limitation due to the token defined. If a model isn't represented by a tables route, there should be an /api method corresponding.\n\n# - /api/** routes\nThese routes are for doing specific actions that can't be done with /tables routes. \n\n# Thoughts about application logic\n* If a user needs to have his role updated, regenerate the token with the [/api/regenerate](#/Authentication/regenerate) method \n\n# Nullable fields\nNULL value doesn't exists in this API, you'll be beat by the swagger validator. So if you need to reset a field to NULL value in DB, set the string value to 'null'. A small formatter will do the job when inserting or updating in the DB.\n","version":"1.11.0"},"securityDefinitions":{"AuthHeader":{"type":"apiKey","in":"header","name":"X-ZUMO-AUTH","description":"Token"}},"definitions":{"AdditionalDocument":{"type":"object","description":"Additionnal documents object used for displaying in employees, interim, sublease employee","required":["internalName","name","siteId"],"properties":{"internalName":{"type":"string","description":"Internal name of the kind of file (identityPicture, DITO, ). Only contains alphanumeric and underscore character."},"name":{"type":"string","description":"Displayed name of the file. Required if there is no internalName. Used for extra files that can be added.","default":false},"siteName":{"type":"string","description":"Name of the site where this document is relative"},"siteId":{"type":"string","description":"ID of the site this document refers"},"canExpire":{"type":"boolean","description":"Indicates if this document can expire"}}},"Analytic":{"type":"object","description":"Analytic of the platform. Some field can be empty depending on whom told it","properties":{"startAt":{"type":"string","format":"dateTime","description":"Minimum date for which to take into account the analytic"},"endAt":{"type":"string","format":"dateTime","description":"Maximum date for which to take into account the analytic"},"employees":{"type":"number"},"interims":{"type":"number"},"subleaseEmployees":{"type":"number"},"detachedEmployees":{"type":"number"},"undetachedEmployees":{"type":"number"},"controlledPeople":{"type":"number"},"controlledCompanies":{"type":"number"},"controlledSites":{"type":"number"},"controls":{"type":"number"},"unsolvedIncidents":{"type":"number"},"solvedIncidents":{"type":"number"},"reportsValid":{"type":"number"},"employeesWithIncidents":{"type":"number"},"sites":{"type":"number"},"companies":{"type":"number"},"toCheckEmployees":{"type":"number"},"toCheckInterims":{"type":"number"},"toCheckSubleaseEmployees":{"type":"number"},"toCheckDetachedEmployees":{"type":"number"},"validatedEmployees":{"type":"number"},"validatedInterims":{"type":"number"},"validatedSubleaseEmployees":{"type":"number"},"validatedDetachedEmployees":{"type":"number"},"refusedEmployees":{"type":"number"},"refusedInterims":{"type":"number"},"refusedSubleaseEmployees":{"type":"number"},"refusedDetachedEmployees":{"type":"number"},"workersTotal":{"type":"number"},"companyFrench":{"type":"number"},"companyEurope":{"type":"number"},"companyInternational":{"type":"number"},"workerFrench":{"type":"number"},"workerEurope":{"type":"number"},"workerInternational":{"type":"number"},"particularContractHandicap":{"type":"number"},"particularContractSocialIntegration":{"type":"number"},"particularContractBoth":{"type":"number"},"particularContractStandard":{"type":"number"}}},"ApiKey":{"type":"object","description":"Api key for using in the external API","required":["name"],"properties":{"name":{"type":"string","description":"Name of this api key"},"key":{"type":"string","description":"Value of this api key. It's generated on the server and is only returned once at the insertion."},"isActive":{"type":"boolean","description":"Indicates if the key is active or not"}}},"ApiKeyLog":{"type":"object","description":"Log for an api key","properties":{"apiKeyId":{"type":"string","description":"ID of the API KEY that has been used"},"event":{"type":"string","enum":["login","getCompany","getCompanyError","getSite","getSiteError","getPeople","getPeopleError"]},"urlCalled":{"type":"string","description":"Url sent to the server"},"extra":{"type":"string","description":"Extra parameters in JSON format"},"ip":{"type":"string","description":"IP used when the API call has been done"}}},"AuthCredentials":{"type":"object","description":"Data that are usefull for getting authentified data","properties":{"userId":{"type":"string"},"companyId":{"type":"string"},"companies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}}},"token":{"type":"string"},"tokenExpiration":{"type":"integer","description":"Timestamp when the token will expire in seconds since UNIX epoch"}}},"Company":{"type":"object","description":"Company","required":["name","domiciliation","identifier","divisionId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use in any way"},"name":{"type":"string","description":"Name of the company (raison sociale)"},"domiciliation":{"type":"string","description":"Country place where the company is registered","enum":["France","Europe","Other"]},"identifier":{"type":"string","description":"Can be a SIRET, a DUNS or TVA."},"street1":{"type":"string"},"street2":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"ape":{"type":"string"},"phone":{"type":"string","description":"office phone"},"divisionId":{"type":"string","description":"ID of the division of the company"},"mobilePhone":{"type":"string"},"subscription":{"type":"boolean","description":"false if free, true if premium"},"emailContact":{"type":"string","description":"Email of the contact. At register, it's the first admin contact"},"temporary":{"type":"boolean","default":false,"description":"Indicates if the company has been invited but not yet registered. Can be found in list for adding as partner."},"frozen":{"type":"boolean","default":false,"description":"Indicates if the company has been frozen. In this case, we must not allow anything to do for this company."},"isBtp":{"type":"boolean","default":false,"description":"Indicates if the company is a BTP one, so that we can use the BTP Card scanning feature."},"countSites":{"type":"number","description":"Number of sites this company is working on ( SiteControllerCompany, SiteContributor and Site owning). Only for web token","readOnly":true},"oldId":{"type":"string"},"integratedForConstructionSiteId":{"type":"string"},"corporationCheckService":{"type":"string","enum":["provigis","eattestation"]},"corporationCheckConfiguration":{"type":"string","description":"JSON containing auth for the service"},"validationState":{"type":"string","enum":["waitingForVerification","validated","refused"]},"askForPremium":{"type":"boolean"},"viewDO":{"type":"boolean"},"hasUser":{"type":"boolean"},"hasPeopleValidated":{"type":"boolean"}}},"CompanyMobile":{"type":"object","description":"Company for mobile synchronisation","properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use in any way"},"name":{"type":"string","description":"Name of the company (raison sociale)"},"domiciliation":{"type":"string","description":"Country place where the company is registered","enum":["France","Europe","Other"]},"identifier":{"type":"string","description":"Can be a SIRET, a DUNS or TVA."},"street1":{"type":"string"},"street2":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"ape":{"type":"string"},"phone":{"type":"string","description":"office phone"},"divisionId":{"type":"string","description":"ID of the division of the company"},"mobilePhone":{"type":"string"},"emailContact":{"type":"string","description":"Email of the contact. At register, it's the first admin contact"},"frozen":{"type":"boolean","default":false,"description":"Indicates if the company has been frozen. In this case, we must not allow anything to do for this company."},"isBtp":{"type":"boolean","default":false,"description":"Indicates if the company is a BTP one, so that we can use the BTP Card scanning feature."},"countSites":{"type":"number","description":"Number of sites this company is working on ( SiteControllerCompany, SiteContributor and Site owning). Only for web token","readOnly":true},"corporationCheckStatus":{"type":"string","enum":["waitingForResponse","error","notApplicable","valid","invalid"]},"forceCorporationCheckValid":{"type":"boolean","description":"If set to true, even if the corporationCheckStatus is invalid, the company will be able to be present on the site"},"siteId":{"type":"string","description":"ID of the site the document is applicable"},"validationState":{"type":"string","enum":["waitingForVerification","validated","refused"]}}},"CompanyRaise":{"type":"object","description":"Company raise","required":["companyId","kind"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use in any way"},"companyId":{"type":"string","description":"ID of the company (raison sociale)"},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API","readOnly":true},"initiatedAt":{"type":"string","format":"dateTime","description":"Indicates when this raise has first been emitted"},"lastRaisedAt":{"type":"string","format":"dateTime","description":"Indicates when was the latest raise for this company"},"kind":{"type":"string","description":"Indicates which kind of raise this is","enum":["firstContact","firstIncident","incidentNotSolved","biMonthly","monthly","quaterly"]},"status":{"type":"string","enum":["waiting","done","archived"]}}},"Document":{"type":"object","description":"Documents than can be attached to people (employee, interim, sublease)","required":["path","internalName","name","referenceId","referenceKind","companyId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"referenceId":{"type":"string","description":"ID of the initialDocument. It can be and employee ID, a Site ID, ..."},"referenceKind":{"type":"string","enum":["employee","employeeQualification","interim","interimQualification","subleaseEmployee","site","incident","company","accreditation","qualification"]},"companyId":{"type":"string","description":"ID of the company the reference is attached."},"path":{"type":"string","description":"Path of the file on the storage. Generally the path returned by the upload method."},"internalName":{"type":"string","description":"Internal name of the kind of file (identityPicture, DITO, ). Only contains alphanumeric and underscore character."},"name":{"type":"string","description":"Displayed name of the file. Required if there is no internalName. Used for extra files that can be added."},"validationState":{"type":"string","enum":["waiting","validated","refused"],"description":"Indicates the state of the document"},"checkedAt":{"type":"string","format":"dateTime","description":"Indicates when the activigie team checked this document"},"refusedReason":{"type":"string","description":"If the status has been marked as refused, need to fill the reason"},"extra1":{"type":"string","description":"Can be anything. Formally used to store the IdentityCard type."},"expireAt":{"type":"string","format":"dateTime","description":"If defined, indicates when the document will expire"},"mimeType":{"type":"string","description":"MIME type of the object. Can be usefull to determine with which application to open the file."},"toUpload":{"type":"boolean","description":"Indicates if there is a file on the hosting"},"oldPath":{"type":"string"},"integratedForConstructionSiteId":{"type":"string"}}},"DocumentMobile":{"type":"object","description":"Documents than can be attached to people (employee, interim, sublease)","required":["path","internalName","name","referenceId","referenceKind","companyId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"referenceId":{"type":"string","description":"ID of the initialDocument. It can be and employee ID, a Site ID, ..."},"referenceKind":{"type":"string","enum":["employee","employeeQualification","interim","interimQualification","subleaseEmployee","site","incident","company","accreditation","qualification"]},"path":{"type":"string","description":"Path of the file on the storage. Generally the path returned by the upload method."},"internalName":{"type":"string","description":"Internal name of the kind of file (identityPicture, DITO, ). Only contains alphanumeric and underscore character."},"name":{"type":"string","description":"Displayed name of the file. Required if there is no internalName. Used for extra files that can be added."},"extra1":{"type":"string","description":"Can be anything. Formally used to store the IdentityCard type."},"expireAt":{"type":"string","format":"dateTime","description":"If defined, indicates when the document will expire"},"mimeType":{"type":"string","description":"MIME type of the object. Can be usefull to determine with which application to open the file."},"toUpload":{"type":"boolean","description":"Indicates if there is a file on the hosting"},"peopleType":{"type":"string","enum":["employee","interim","subleaseEmployee"]},"siteId":{"type":"string","description":"ID of the site the document is applicable"}}},"Employee":{"type":"object","description":"Employee","required":["firstname","lastname"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"companyId":{"type":"string","description":"ID of the company this user is attached. Forced by the API, so not necessary to fill it."},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API","readOnly":true},"firstname":{"type":"string"},"lastname":{"type":"string"},"birthday":{"type":"string","format":"dateTime"},"nationality":{"type":"string"},"function":{"type":"string"},"contractType":{"type":"string","description":"fixedTerm (french CDD), permanentContrat (french CDI)"},"startedAt":{"type":"string","format":"dateTime","description":"When the contract started"},"endAt":{"type":"string","format":"dateTime","description":"When the contract has or will ended"},"validationState":{"type":"string","enum":["waitingForSubmission","waitingForVerification","validated","refused","archived"],"description":"Indicates the state of the employee"},"refusedReason":{"type":"string","description":"If the status has been marked as refused, need to fill the reason"},"btpCardNumber":{"type":"string","description":"Number of the BTP Card"},"countActiveIncidents":{"type":"number","description":"Number of active incidents on this employee","readOnly":true},"isBTPValidation":{"type":"boolean","description":"the validation can be done with BTP card"},"isActivigieValidation":{"type":"boolean","description":"the validation is done with Activigie process"},"oldId":{"type":"string"},"integratedForConstructionSiteId":{"type":"string"},"handicappedWorker":{"type":"boolean","description":"if the worker is handicapped"},"socialIntegration":{"type":"boolean","description":"if the worker do a social integration"},"detachmentStartAt":{"type":"string","format":"dateTime"},"detachmentEndAt":{"type":"string","format":"dateTime"}}},"HistoryPeople":{"type":"object","description":"History for every action attempt to People","properties":{"api":{"type":"string","description":"Name of the api (public / private / ssa) that make the call"},"referenceId":{"type":"string","description":"ID of the people"},"type":{"type":"string","description":"Type of the modification"},"doneBy":{"type":"string","description":"User id who makes the request"},"doneByName":{"type":"string","description":"User name who makes the request"},"entityType":{"type":"string","description":"Type of people part that change"},"before":{"type":"string","description":"Previous data"},"after":{"type":"string","description":"New data"},"validationState":{"type":"string","description":"Validation State of the people after action"}}},"HistoryPM":{"type":"object","description":"History for every action attempt to PM","properties":{"api":{"type":"string","description":"Name of the api (public / private / ssa) that make the call"},"referenceId":{"type":"string","description":"ID of the people"},"actionKind":{"type":"string","description":"kind of the log action asks"},"doneBy":{"type":"string","description":"User id who makes the request"},"doneByName":{"type":"string","description":"User name who makes the request"},"difference":{"type":"string","description":"Difference of the previous and the actual state"},"validationState":{"type":"string","description":"Validation State of the people after action"}}},"HistoryEmail":{"type":"object","description":"History for every action attempt to People","properties":{"api":{"type":"string","description":"Name of the api (public / private / ssa) that make the call"},"referenceId":{"type":"string","description":"ID of the entity"},"referenceTable":{"type":"string","description":"Table link to the referenceId"},"codeEmail":{"type":"string","description":"Technical code for the email"},"doneBy":{"type":"string","description":"User id who makes the request"},"doneByName":{"type":"string","description":"User name who makes the request"},"comment":{"type":"string","description":"Commentary"}}},"HistoryCompany":{"type":"object","description":"History for every action attempt to Company","properties":{"api":{"type":"string","description":"Name of the api (public / private / ssa) that make the call"},"referenceId":{"type":"string","description":"ID of the company"},"type":{"type":"string","description":"Type of the modification"},"doneBy":{"type":"string","description":"User id who makes the request"},"doneByName":{"type":"string","description":"User name who makes the request"},"entityType":{"type":"string","description":"Type of people part that change"},"before":{"type":"string","description":"Previous data"},"after":{"type":"string","description":"New data"}}},"HistorySite":{"type":"object","description":"History for every action on Site entity","properties":{"api":{"type":"string","description":"Name of the api (public / private / ssa) that make the call"},"referenceId":{"type":"string","description":"ID of the site"},"type":{"type":"string","description":"Type of the modification"},"doneBy":{"type":"string","description":"User id who makes the request"},"doneByName":{"type":"string","description":"User name who makes the request"},"entityType":{"type":"string","description":"Type of people part that change"},"before":{"type":"string","description":"Previous data"},"after":{"type":"string","description":"New data"}}},"Interim":{"type":"object","description":"Interim","required":["firstname","lastname","agencyName"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"companyId":{"type":"string","description":"ID of the company this user is attached. Forced by the API, so not necessary to fill it."},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API","readOnly":true},"firstname":{"type":"string"},"lastname":{"type":"string"},"birthday":{"type":"string","format":"dateTime"},"nationality":{"type":"string"},"function":{"type":"string"},"startedAt":{"type":"string","format":"dateTime","description":"When the contract started"},"endAt":{"type":"string","format":"dateTime","description":"When the contract has or will ended"},"validationState":{"type":"string","enum":["waitingForSubmission","waitingForVerification","validated","refused","archived"],"description":"Indicates the state of the employee"},"refusedReason":{"type":"string","description":"If the status has been marked as refused, need to fill the reason"},"agencyName":{"type":"string","description":"Name of the agency."},"agencyDomiciliation":{"type":"string","description":"Country place where the agency is registered","enum":["France","Europe","Other"]},"agencyIdentifier":{"type":"string","description":"Identifier of the agency.","readOnly":true},"btpCardNumber":{"type":"string","description":"Number of the BTP Card"},"countActiveIncidents":{"type":"number","description":"Number of active incidents on this employee","readOnly":true},"isBTPValidation":{"type":"boolean","description":"the validation can be done with BTP card"},"isActivigieValidation":{"type":"boolean","description":"the validation is done with Activigie process"},"oldId":{"type":"string"},"integratedForConstructionSiteId":{"type":"string"},"handicappedWorker":{"type":"boolean","description":"if the worker is handicapped"},"socialIntegration":{"type":"boolean","description":"if the worker do a social integration"},"detachmentStartAt":{"type":"string","format":"dateTime"},"detachmentEndAt":{"type":"string","format":"dateTime"}}},"Log":{"type":"object","description":"Log","properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"companyId":{"type":"string","description":"ID of the company"},"referenceId":{"type":"string","description":"ID object"},"referenceTable":{"type":"string","description":"Name of the table the reference id is from","enum":["Employee","Interim","SubleaseEmployee","Company","Partner","Document","Site","User","SiteControllerCompany","SiteContributor"]},"actionKind":{"type":"string","description":"Kind of action that has been done","enum":["create","update","delete"]},"doneById":{"type":"string"},"doneByName":{"type":"string","description":"Firstname and lastname of the people that have done the action"},"doneAt":{"type":"string","format":"dateTime","description":"When the action has been done"},"extra1":{"type":"string","description":"Store any complementary item"}}},"Partner":{"type":"object","description":"Partner of a company (Sous traitant)","required":["companyId","partnerId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use in any way"},"companyId":{"type":"string","description":"ID of the company that own this partnership"},"companyName":{"type":"string","description":"Name of the company that own this partnership. Auto filled by the API","readOnly":true},"companyIdentifier":{"type":"string","description":"Identifier of the company. Auto filled by the API","readOnly":true},"companyEmailContact":{"type":"string","description":"Contact email of the company. Auto filled by the API","readOnly":true},"companyDomiciliation":{"type":"string","description":"Domiciliation of the company. Auto filled by the API","readOnly":true},"partnerId":{"type":"string","description":"ID of the partner"},"partnerName":{"type":"string","description":"Name of the partner company. Auto filled by the API","readOnly":true},"partnerIdentifier":{"type":"string","description":"Identifier of the partner. Auto filled by the API","readOnly":true},"partnerEmailContact":{"type":"string","description":"Contact email of the partner. Auto filled by the API","readOnly":true},"partnerDomiciliation":{"type":"string","description":"Domiciliation of the partner. Auto filled by the API","readOnly":true},"partnerPhone":{"type":"string","description":"Phone of the partner. Auto filled by the API","readOnly":true},"invitationSent":{"type":"string","format":"dateTime","readOnly":true,"description":"Indicates if the company has been invited and not yet validate its registration."},"integratedForConstructionSiteId":{"type":"string"}}},"People":{"type":"object","description":"People. Can be an employee, an interim or a sublease employee. This table is used for the display of the site people","properties":{"id":{"type":"string","readOnly":true},"leaseEmployeeId":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"kind":{"type":"string","enum":["employee","interim","subleaseEmployee"]},"firstname":{"type":"string"},"lastname":{"type":"string"},"validationState":{"type":"string","enum":["waitingForSubmission","waitingForVerification","validated","refused"],"description":"Indicates the state of the people"},"canAccessSite":{"type":"boolean"},"siteJobIds":{"type":"array","items":{"type":"string"}},"siteJobNames":{"type":"array","items":{"type":"string"}},"companyId":{"type":"string"},"companyName":{"type":"string"}}},"PeopleMobile":{"type":"object","description":"Employee, Interim or SubleaseEmployee","required":["firstname","lastname"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"companyId":{"type":"string","description":"ID of the company this user is attached. Forced by the API, so not necessary to fill it."},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API","readOnly":true},"firstname":{"type":"string"},"lastname":{"type":"string"},"birthday":{"type":"string","format":"dateTime"},"nationality":{"type":"string"},"function":{"type":"string"},"contractType":{"type":"string","enum":["fixedTerm","permanent","manager","trainee","selfEmployed","apprentice","seasonalContract","CUICAE","serviceProviderOrRenter"],"description":"contract type for employees only; fixedTerm (french CDD), permanentContrat (french CDI)"},"startedAt":{"type":"string","format":"dateTime","description":"When the contract started"},"endAt":{"type":"string","format":"dateTime","description":"When the contract has or will ended"},"validationState":{"type":"string","enum":["waitingForSubmission","waitingForVerification","validated","refused"],"description":"Indicates the state of the worker"},"refusedReason":{"type":"string","description":"If the status has been marked as refused, need to fill the reason"},"btpCardNumber":{"type":"string","description":"Number of the BTP Card"},"isBTPValidation":{"type":"boolean","description":"the validation can be done with BTP card"},"isActivigieValidation":{"type":"boolean","description":"the validation is done with Activigie process"},"handicappedWorker":{"type":"boolean","description":"if the worker is handicapped"},"socialIntegration":{"type":"boolean","description":"if the worker do a social integration"},"agencyName":{"type":"string","description":"Name of the agency in case of Interim type of worker"},"agencyDomiciliation":{"type":"string","description":"Country place where the agency is registered in case of Interim type of worker","enum":["France","Europe","Other"]},"agencyIdentifier":{"type":"string","description":"Identifier of the agency in case of Interim type of worker","readOnly":true},"leaseCompanyId":{"type":"string","description":"ID of the company that lease this employee in case of Sublease worker"},"leaseCompanyName":{"type":"string","description":"This field is auto filled by the API in case of Sublease worker","readOnly":true},"leaseEmployeeId":{"type":"string","description":"ID of the employee that is leased in case of Sublease worker"},"leaseEmployeeValidationState":{"type":"string","enum":["waitingForSubmission","waitingForVerification","validated","refused"]},"peopleType":{"type":"string","enum":["employee","interim","subleaseEmployee"]},"siteId":{"type":"string","description":"ID of the site the document is applicable"},"siteJobId":{"type":"string","description":"ID of the job for this interim"},"siteJobName":{"type":"string","readOnly":true}}},"PeopleValidation":{"type":"object","description":"This table is used to follow the validation process of people","properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"referenceId":{"type":"string","description":"Reference Id of the people"},"comment":{"type":"string","description":"Comment on the validation process"},"isFirstNameValid":{"type":"boolean","description":"is the firstname valid"},"isLastNameValid":{"type":"boolean","description":"is the lastname valid"},"isBirthdayValid":{"type":"boolean","description":"is the birthday valid"},"isNationalityValid":{"type":"boolean","description":"is the nationality valid"},"isFunctionValid":{"type":"boolean","description":"is the function valid"},"isContractKindValid":{"type":"boolean","description":"is the contract kind valid"},"isStartDateValid":{"type":"boolean","description":"is the start date valid"},"isAvatarValid":{"type":"boolean","description":"is the avatar valid"},"isIdentityProofValid":{"type":"boolean","description":"is the identity proof valid"},"isContractDocumentValid":{"type":"boolean","description":"is the contract document valid"},"isBtpCardValid":{"type":"boolean","description":"is the btp card valid"}}},"Site":{"type":"object","description":"Site","required":["name"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"name":{"type":"string","description":"Name of the site"},"description":{"type":"string"},"typology":{"type":"string","enum":["static","mobile","apartment","btp","industrie","agriculture","telecom","event"],"description":"Kind of site. Mobile if there is multiple places, static if only one place"},"street1":{"type":"string"},"street2":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"companyId":{"type":"string","description":"Id of the company that own this site"},"companyName":{"type":"string","description":"Name of the owner company. Auto filled by the API.","readOnly":true},"companyIdentifier":{"type":"string","description":"Identifier of the owner company. Auto filled by the API.","readOnly":true},"copyEmailsToAdmin":{"type":"boolean","description":"Ability to have all copy of email sent from site to the admin of site"},"userIdInCharge":{"type":"string","description":"Id of the user that is in charge of this site"},"userInChargeFirstname":{"type":"string","description":"Firstname of the user in charge. Auto filled by the API.","readOnly":true},"userInChargeLastname":{"type":"string","description":"Lastname of the user in charge. Auto filled by the API.","readOnly":true},"userInChargeEmail":{"type":"string","description":"Email of the user in charge. Auto filled by the API.","readOnly":true},"userInChargeMobile":{"type":"string","description":"Mobile phone of the user in charge. Auto filled by the API.","readOnly":true},"lastControlAt":{"type":"string","format":"dateTime","description":"Last time a control has been done","readOnly":true},"myRole":{"type":"string","enum":["admin","controller","contributor"],"readOnly":true,"description":"Indicates what role the connected user get for this site"},"countWorkers":{"type":"number","readOnly":true,"description":"Returns the number of employees, interim and sublease employees"},"countPartners":{"type":"number","readOnly":true,"description":"Returns the number of companies attached to this site"},"countControlCompanies":{"type":"number","readOnly":true,"description":"Returns the number of companies that can control this site"},"nbIncidentActive":{"type":"number","readOnly":true,"description":"Returns the number of active incident for this site"},"oldId":{"type":"string"},"validationState":{"type":"string","enum":["waitingForVerification","validated","stopped","archived"]},"corporationCheck":{"type":"boolean"},"corporationCheckExtra":{"type":"string"},"lastRefreshMobile":{"type":"string","format":"dateTime"},"operationStartDate":{"type":"string","format":"dateTime"},"operationEndDate":{"type":"string","format":"dateTime"},"countControl":{"type":"number"},"buyedControl":{"type":"number"},"comment":{"type":"string","description":"activate the site lots view"},"nbAccommodation":{"type":"number","description":"nombre de logements"},"optionPanovigie":{"type":"string","enum":["none","panovigie","panovigieOnly"]},"optionBadge":{"type":"boolean"}}},"SiteMobile":{"type":"object","description":"Mobile version of the site.","properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"name":{"type":"string","description":"Name of the site"},"userId":{"type":"string","description":"Id of the user that can control"},"companyId":{"type":"string","description":"Id of the user's company that can control"},"street1":{"type":"string"},"street2":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"userIdInCharge":{"type":"string","description":"Id of the user that is in charge of this site"},"userInChargeFirstname":{"type":"string","description":"Firstname of the user in charge. Auto filled by the API."},"userInChargeLastname":{"type":"string","description":"Lastname of the user in charge. Auto filled by the API."},"userInChargeEmail":{"type":"string","description":"Email of the user in charge. Auto filled by the API."},"userInChargeMobile":{"type":"string","description":"Mobile phone of the user in charge. Auto filled by the API."},"lastControlAt":{"type":"string","format":"dateTime","description":"Last time a control has been done"},"countIncident":{"type":"number"},"validationState":{"type":"string","enum":["waitingForVerification","validated"]}}},"SiteAccreditation":{"type":"object","description":"Site's qualification","required":["siteId","name"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"name":{"type":"string","description":"Name of the qualification"},"internalName":{"type":"string","description":"Internal name of the qualification. Auto-generated with the name"},"canExpire":{"type":"boolean","description":"Indicates if this document can expire"},"jobNames":{"type":"string","description":"List of jobs available for this accreditation","readOnly":true},"documentTypeId":{"type":"string","description":"ID of the attached reference document","readOnly":true}}},"SiteAccreditationSiteJob":{"type":"object","description":"Association between an accreditation and a job","required":["siteAccreditationId","siteJobId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"siteJobId":{"type":"string","description":"ID of the site job"},"siteAccreditationId":{"type":"string","description":"ID of the site accreditation"}}},"SiteAnalytic":{"type":"object","description":"Analytic of the site. Some field can be empty depending on whom told it","properties":{"employees":{"type":"number"},"interims":{"type":"number"},"subleaseEmployees":{"type":"number"},"workersTotal":{"type":"number"},"companyFrench":{"type":"number"},"companyEurope":{"type":"number"},"companyInternational":{"type":"number"},"workerFrench":{"type":"number"},"workerEurope":{"type":"number"},"workerInternational":{"type":"number"},"particularContractHandicap":{"type":"number"},"particularContractSocialIntegration":{"type":"number"},"particularContractBoth":{"type":"number"},"particularContractStandard":{"type":"number"},"reportsValid":{"type":"number"},"reportsIncidentSolved":{"type":"number"},"reportsIncidentProven":{"type":"number"},"reportsTotal":{"type":"number"},"reportsUniqPerson":{"type":"number"},"reportsUnknownPerson":{"type":"number"},"reportsIncidentsPerson":{"type":"number"},"reportsCompanies":{"type":"number"},"reportsSite":{"type":"number"},"detachedEmployees":{"type":"number"},"undetachedEmployees":{"type":"number"}}},"SitePeopleSiteJob":{"type":"object","description":"Association between an site's people and a job's site","required":["sitePeopleId","sitePeopleKind","siteJobId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"siteJobId":{"type":"string","description":"ID of the site job"},"sitePeopleId":{"type":"string","description":"ID of the people"},"sitePeopleKind":{"type":"string","description":"kind of the people","enum":["Employee","Interim","SubleaseEmployee"]}}},"SiteContributor":{"type":"object","description":"Companies that contributes on a site.","required":["siteId","companyId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"companyId":{"type":"string","description":"ID of the company that contribute to this site."},"companyName":{"type":"string","description":"Name of the company. Auto-filled by the API","readOnly":true},"companyAPE":{"type":"string","description":"APE of the company. Auto-filled by the API","readOnly":true},"companyIdentifier":{"type":"string","description":"Can be a SIRET, a DUNS or TVA.","readOnly":true},"companyEmployeesCount":{"type":"number","description":"Number of employees associated to the company on this site. Automatically managed by the API","readOnly":true},"parentCompanyId":{"type":"string","description":"ID of the parent company. Can be null. Automatically managed by the API"},"validationState":{"type":"string","enum":["waitingForVerification","validated","refused"]},"corporationCheckIdentifier":{"type":"string"},"corporationCheckEAttestationImport":{"type":"string"},"corporationCheckStatus":{"type":"string","enum":["waitingForResponse","error","notApplicable","valid","invalid"]},"corporationCheckDocuments":{"type":"string","description":"List of documents that has been set on the platform"},"forceCorporationCheckValid":{"type":"boolean","description":"If set to true, even if the corporationCheckStatus is invalid, the company will be able to be present on the site"},"forceCorporationCheckValidAt":{"type":"string","format":"dateTime"},"nextCheckAt":{"type":"string","format":"dateTime"},"invitedAt":{"type":"boolean","description":"Indicates if this company has been invited. Automatically managed by the API"},"level":{"type":"number","description":"Horizontal position. This field is automatically calculated by the API. Do not update this value.","readOnly":true},"integratedForConstructionSiteId":{"type":"string"}}},"SiteControl":{"type":"object","description":"Control report of a site","required":["siteId","controllerId","controllerCompanyId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"siteName":{"type":"string","description":"Name of the site, auto filled by the API","readOnly":true},"controllerId":{"type":"string","description":"User id that generate this report"},"controllerFirstname":{"type":"string","readOnly":true,"description":"Auto filled by the API"},"controllerLastname":{"type":"string","readOnly":true,"description":"Auto filled by the API"},"controllerCompanyId":{"type":"string","description":"Company id of the controller"},"controllerCompanyName":{"type":"string","description":"Name of the controller's company. Auto filled by the API","readOnly":true},"startedAt":{"type":"string","format":"dateTime","description":"Indicates when the control started"},"endedAt":{"type":"string","format":"dateTime","description":"Indicates when the control ended"},"revivalAt":{"type":"string","format":"dateTime","description":"Indicates when a notification should be sent to the site owner"},"status":{"type":"string","enum":["inProgress","finished"],"default":"inProgress"},"startLatitude":{"type":"number","description":"Latitude at the begining of the control"},"startLongitude":{"type":"number","description":"Longitude at the begining of the control"},"endLatitude":{"type":"number","description":"Latitude at the end of the control"},"endLongitude":{"type":"number","description":"Longitude at the end of the control"},"countIncident":{"type":"number","description":"Total number of incident. This data if filled by the mobile application"},"countValid":{"type":"number","description":"Total number of valid control. This data if filled by the mobile application"},"comment":{"type":"string","description":"Comment on the site Control"},"reportSentAt":{"type":"string","format":"dateTime","description":"Date when the email has been sent"},"revivalReportSentAt":{"type":"string","format":"dateTime","description":"Date when the email has been sent"}}},"SiteControlEntry":{"type":"object","description":"Site control entry. Can validate the presence of a people or declare an incident","required":["siteId","siteControlId","controllerId","referenceFirstname","referenceLastname","referenceCompanyName","referenceKind","kind"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"siteName":{"type":"string","description":"Name of the site."},"siteControlId":{"type":"string","description":"ID of the site control"},"controllerId":{"type":"string","description":"User's id that generate this entry"},"controllerCompanyId":{"type":"string","description":"Company id of the controller"},"referenceId":{"type":"string","description":"ID of the People this entry is for. Can be null if the People does not exist."},"referenceFirstname":{"type":"string","description":"People's firstname."},"referenceLastname":{"type":"string","description":"People's lastname."},"referenceCompanyDivisionId":{"type":"string","description":"ID of the people's company division. Can be null if the company has been found."},"referenceCompanyId":{"type":"string","description":"ID of the people's company attached to this entry. Can be null if the company does not exist."},"referenceCompanyName":{"type":"string","description":"People company name."},"referenceInterimAgencyName":{"type":"string","description":"People's agency company name of the people."},"referenceInterimAgencyIdentifier":{"type":"string","description":"People's agency identifier of the people."},"referenceCompanyDivisionName":{"type":"string","description":"Name of the company division"},"referenceCompanyApeId":{"type":"string","description":"APE code of the company. Can be null if the company has been found."},"referenceCompanyApeName":{"type":"string","description":"Name of the company ape"},"referenceKind":{"type":"string","enum":["employee","interim","subleaseEmployee"]},"kind":{"type":"string","description":"Indicates the kind of the entry. Can be valid (Pointage validé) or incident (Incident)","default":"valid","enum":["valid","incident"]},"incidentType":{"type":"string","description":"Describes the type of an incident","enum":["employee_unknown","endcontract","enddetachment","identityexpired","notstart","norecognized","noqualif","nocompleted","refusedcompany","refusedmoral","other","refusedemployee"]},"incidentOtherReason":{"type":"string","description":"All reasons that generates this incident. Separates each line by an \\n character."},"note":{"type":"string","description":"The controller can enter whatever he wants to justify the reason of invalid status"},"solvedAt":{"type":"string","format":"dateTime","description":"Indicates when the incident has been solved by the system (validation of employee, etc...)"},"companySolvedAt":{"type":"string","format":"dateTime","description":"Indicates when the incident has been solved by the company, eg a new user has been attached."},"maxActionAt":{"type":"string","format":"dateTime","description":"Indicates when the entry should be solved without consequences","readOnly":true},"isActive":{"type":"boolean"},"mailSent":{"type":"boolean"},"commentSupport":{"type":"string","description":"commentaire du support"}}},"SiteControllerCompany":{"type":"object","description":"Site companies that have the control ability","required":["siteId","companyId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"companyId":{"type":"string","description":"ID of the company that controls this site."},"companyName":{"type":"string","description":"Name of the company. Auto-filled by the API","readOnly":true},"companyAPE":{"type":"string","description":"APE of the company. Auto-filled by the API","readOnly":true},"companyEmployeesCount":{"type":"number","description":"Number of employees associated to the company on this site. Automatically managed by the API","readOnly":true},"parentCompanyId":{"type":"string","description":"ID of the parent company. Can be null"},"validationState":{"type":"string","enum":["waitingForVerification","validated","refused"]},"corporationCheckIdentifier":{"type":"string"},"corporationCheckEAttestationImport":{"type":"string"},"corporationCheckStatus":{"type":"string","enum":["waitingForResponse","error","notApplicable","valid","invalid"]},"corporationCheckDocuments":{"type":"string","description":"List of documents that has been set on the platform"},"forceCorporationCheckValid":{"type":"boolean","description":"If set to true, even if the corporationCheckStatus is invalid, the company will be able to be present on the site"},"forceCorporationCheckValidAt":{"type":"string","format":"dateTime"},"nextCheckAt":{"type":"string","format":"dateTime"},"invitedAt":{"type":"boolean","description":"Indicates if this company has been invited. Automatically managed by the API"},"level":{"type":"number","description":"Horizontal position. This field is automatically calculated by the API. Do not update this value."},"integratedForConstructionSiteId":{"type":"string"}}},"SiteControllerUser":{"type":"object","description":"Site users that have the control ability","required":["siteId","userId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"companyId":{"type":"string","description":"ID of the employee's company."},"siteId":{"type":"string","description":"ID of the site"},"userId":{"type":"string","description":"ID of the user that controls this site."},"integratedForConstructionSiteId":{"type":"string"}}},"SiteEmployee":{"type":"object","description":"Site's employee","required":["siteId","companyId","employeeId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"companyId":{"type":"string","description":"ID of the employee's company."},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API.","readOnly":true},"employeeId":{"type":"string","description":"ID of the employee that has been affected to this site."},"employeeFirstname":{"type":"string","description":"Firstname of the employee. Auto filled by the API.","readOnly":true},"employeeLastname":{"type":"string","description":"Lastname of the employee. Auto filled by the API.","readOnly":true},"siteJobId":{"type":"string","description":"ID of the job for this employee"},"siteJobName":{"type":"string","readOnly":true},"integratedForConstructionSiteId":{"type":"string"}}},"SiteInterim":{"type":"object","description":"Site's interim employee","required":["siteId","companyId","interimEmployeeId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"companyId":{"type":"string","description":"ID of the interim employee's company."},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API.","readOnly":true},"interimId":{"type":"string","description":"ID of the interim employee that has been affected to this site."},"interimFirstname":{"type":"string","description":"Firstname of the interim employee. Auto filled by the API.","readOnly":true},"interimLastname":{"type":"string","description":"Lastname of the interim employee. Auto filled by the API.","readOnly":true},"siteJobId":{"type":"string","description":"ID of the job for this interim"},"siteJobName":{"type":"string","readOnly":true},"integratedForConstructionSiteId":{"type":"string"}}},"SiteJob":{"type":"object","description":"Site's job","required":["siteId","name"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"name":{"type":"string","description":"Name of the job"}}},"SiteSubleaseEmployee":{"type":"object","description":"Site's sublease employee","required":["siteId","companyId","subleaseEmployeeId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"companyId":{"type":"string","description":"ID of the sublease employee's company."},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API.","readOnly":true},"subleaseEmployeeId":{"type":"string","description":"ID of the sublease employee that has been affected to this site."},"subleaseEmployeeFirstname":{"type":"string","description":"Firstname of the sublease employee. Auto filled by the API.","readOnly":true},"subleaseEmployeeLastname":{"type":"string","description":"Lastname of the subleases employee. Auto filled by the API.","readOnly":true},"siteJobId":{"type":"string","description":"ID of the job for this subleaseEmployee"},"siteJobName":{"type":"string","readOnly":true},"integratedForConstructionSiteId":{"type":"string"}}},"SiteQualification":{"type":"object","description":"Site's qualification","required":["siteId","name"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"name":{"type":"string","description":"Name of the qualification"},"internalName":{"type":"string","description":"Internal name of the qualification. Auto-generated with the name"},"canExpire":{"type":"boolean","description":"Indicates if this document can expire"},"jobNames":{"type":"string","description":"List of jobs available for this qualification","readOnly":true}}},"SiteQualificationSiteJob":{"type":"object","description":"Association between a qualification and a job","required":["siteQualificationId","siteJobId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"siteJobId":{"type":"string","description":"ID of the site job"},"siteQualificationId":{"type":"string","description":"ID of the site qualification"}}},"Standard":{"type":"object","description":"Standard response with status and error type","properties":{"status":{"type":"boolean"},"error":{"type":"string","description":"if the status is false, describes the error"}}},"SubleaseEmployee":{"type":"object","description":"Sublease employee (prêt de main d'oeuvre)","required":["leaseCompanyId","leaseEmployeeId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"companyId":{"type":"string","description":"ID of the company this user is attached. Forced by the API, so not necessary to fill it."},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API","readOnly":true},"leaseCompanyId":{"type":"string","description":"ID of the company that lease this employee"},"leaseCompanyName":{"type":"string","description":"This field is auto filled by the API","readOnly":true},"leaseEmployeeId":{"type":"string","description":"ID of the employee that is leased"},"firstname":{"type":"string","readOnly":true,"description":"This field is auto filled by the API"},"lastname":{"type":"string","description":"this field is auto filled by the API","readOnly":true},"birthday":{"type":"string","format":"dateTime","description":"this field is auto filled by the API","readOnly":true},"nationality":{"type":"string","description":"this field is auto filled by the API","readOnly":true},"btpCardNumber":{"type":"string","description":"this field is auto filled by the API","readOnly":true},"function":{"type":"string"},"startedAt":{"type":"string","format":"dateTime","description":"When the contract started"},"endAt":{"type":"string","format":"dateTime","description":"When the contract has or will ended"},"validationState":{"type":"string","enum":["waitingForSubmission","waitingForVerification","validated","refused","archived"],"description":"Indicates the state of the sublease employee"},"employeeValidationState":{"type":"string","enum":["waitingForSubmission","waitingForVerification","validated","refused"],"description":"Indicates the state of the employee associated to this sublease.","readOnly":true},"refusedReason":{"type":"string","description":"If the status has been marked as refused, need to fill the reason"},"countActiveIncidents":{"type":"number","description":"Number of active incidents on this employee","readOnly":true},"oldId":{"type":"string"},"integratedForConstructionSiteId":{"type":"string"}}},"User":{"type":"object","description":"User","required":["email"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"companyId":{"type":"string","description":"ID of the company this user is attached. Forced by the API, so not necessary to fill it."},"firstname":{"type":"string"},"lastname":{"type":"string"},"email":{"type":"string","description":"Email of the user. This is used for authentification"},"password":{"type":"string","description":"Define this field with an uncrypted password, the API will do it for you. This field is never returned by the API."},"mobile":{"type":"string","description":"Mobile phone"},"phone":{"type":"string","description":"Fix phone"},"lastConnectedAt":{"type":"string","format":"dateTime","description":"Indicates the last time the user connects to the platform"},"oldId":{"type":"string"},"integratedForConstructionSiteId":{"type":"string"},"isAdmin":{"type":"boolean","readOnly":true,"description":"indicates if the user for the current token company is an admin"},"isController":{"type":"boolean","readOnly":true,"description":"indicates if the user for the current token company is a controller"}}},"UserCompany":{"type":"object","description":"Association between an user and a company","required":["userId","companyId"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"userId":{"type":"string","description":"ID of user"},"companyId":{"type":"string","description":"ID of the company"},"isAdmin":{"type":"boolean","description":"Indicates if the user have full privileges","default":false},"isController":{"type":"boolean","description":"Indicates if the user can use the mobile app for doing controls","default":false},"canUpdateCompanyInformations":{"type":"boolean","description":"Indicates if the user can update company informations. Only usefull if isAdmin is false.","default":false},"canUpdateSites":{"type":"boolean","default":false,"description":"Indicates if the user can update sites data, add or validate companies. Only usefull if isAdmin is false."},"siteIdsUpdatable":{"type":"string","description":"List of sites the user has right on. This list is used if the \"canUpdateSites\" field is true. List is in comma separated format. Only usefull if isAdmin is false."},"canCreateSites":{"type":"boolean","default":false,"description":"Indicates if the user can create sites. Only usefull if isAdmin is false."},"canCreateUpdateWorkers":{"type":"boolean","default":false,"description":"Indicates if the user can create / update workers. Only usefull if isAdmin is false."},"canCreateUpdatePartners":{"type":"boolean","default":false,"description":"Indicates if the user can add / remove partners. Only usefull if isAdmin is false."}}},"CompanySite":{"type":"object","description":"People. Can be an employee, an interim or a sublease employee. This table is used for the display of the site people","required":["siteId"],"properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string"},"division":{"type":"string"},"controledNumber":{"type":"string"},"status":{"type":"string","enum":["waitingForVerification","validated","refused"]},"refusedReason":{"type":"string"}}},"PeopleSite":{"type":"object","description":"People. Can be an employee, an interim or a sublease employee. This table is used for the display of the site people","required":["siteId"],"properties":{"id":{"type":"string","readOnly":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthday":{"type":"string"},"nationality":{"type":"string"},"startedAt":{"type":"string"},"endAt":{"type":"string"},"kind":{"type":"string"},"jobNames":{"type":"string"},"companyId":{"type":"string"},"companyName":{"type":"string"},"handicappedWorker":{"type":"number"},"socialIntegration":{"type":"number"},"status":{"type":"string","enum":["waitingForVerification","validated","refused"]},"refusedReason":{"type":"string"},"controled":{"type":"boolean"}}},"ControlEntries":{"type":"object","description":"Control entries","required":["controlId"],"properties":{"succes":{"type":"boolean"}}},"ControllerSites":{"type":"object","description":"list of sites for a controller.","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string"},"description":{"type":"string"},"typology":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"zipCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"userIdInCharge":{"type":"string"},"userInChargeFirstname":{"type":"string"},"userInChargeLastname":{"type":"string"},"userInChargeEmail":{"type":"string"},"userInChargeMobile":{"type":"string"}}},"PeopleCard":{"type":"object","description":"Employee","required":["firstname","lastname"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"companyId":{"type":"string","description":"ID of the company this user is attached. Forced by the API, so not necessary to fill it."},"companyName":{"type":"string","description":"Name of the company. Auto filled by the API","readOnly":true},"firstname":{"type":"string"},"lastname":{"type":"string"},"birthday":{"type":"string","format":"dateTime"},"nationality":{"type":"string"},"function":{"type":"string"},"contractType":{"type":"string","enum":["fixedTerm","permanent","manager","trainee","selfEmployed","apprentice","seasonalContract","CUICAE","serviceProviderOrRenter"],"description":"fixedTerm (french CDD), permanentContrat (french CDI)"},"startedAt":{"type":"string","format":"dateTime","description":"When the contract started"},"endAt":{"type":"string","format":"dateTime","description":"When the contract has or will ended"},"validationState":{"type":"string","enum":["waitingForSubmission","waitingForVerification","validated","refused"],"description":"Indicates the state of the employee"},"refusedReason":{"type":"string","description":"If the status has been marked as refused, need to fill the reason"},"btpCardNumber":{"type":"string","description":"Number of the BTP Card"},"countActiveIncidents":{"type":"number","description":"Number of active incidents on this employee","readOnly":true},"isBTPValidation":{"type":"boolean","description":"the validation can be done with BTP card"},"isActivigieValidation":{"type":"boolean","description":"the validation is done with Activigie process"},"oldId":{"type":"string"},"integratedForConstructionSiteId":{"type":"string"},"handicappedWorker":{"type":"boolean","description":"if the worker is handicapped"},"socialIntegration":{"type":"boolean","description":"if the worker do a social integration"},"detachmentStartAt":{"type":"string","format":"dateTime"},"detachmentEndAt":{"type":"string","format":"dateTime"}}},"AdminRefusalReason":{"type":"object","description":"AdminRefusalReason","properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"type":{"type":"string","description":"type of the refusal reason"},"message":{"type":"string","description":"message of the refusal reason"}}},"CommentSA":{"type":"object","description":"Comment SSA","properties":{"referenceId":{"type":"string","description":"referenceId identifier"},"userId":{"type":"string","description":"ID of the user"},"comment":{"type":"string","description":"The comment"},"documentId":{"type":"string","description":"ID of the document"},"type":{"type":"string","enum":["BDC","Commerce","Contrôleur","IT","Support","Suivi de chantier"],"description":"type"},"doneByName":{"type":"string"}}},"FactuSA":{"type":"object","description":"FactuSA","properties":{"siteId":{"type":"string","description":"Identifier of the billing"},"billingReference":{"type":"string","description":"billing reference"},"billingLabel":{"type":"string","description":"label"},"billingAddress":{"type":"string","description":"billing address"},"billingEmail":{"type":"string","description":"billing email"},"billingTelephone":{"type":"string","description":"billing phone number"},"documentId":{"type":"string","description":"Identifier of the document"},"contractType":{"type":"string","description":"contract type"},"periodicityAnnual":{"type":"string","enum":["50","100","150","200","300","400","500","600","700","Autres"]},"periodicity":{"type":"string","enum":["mensuel","annuel","tri","100%"],"description":"frequency"},"isPurchaseOrder":{"type":"boolean","description":"purchase order"},"purchaseOrderDate":{"type":"string","format":"dateTime","description":"purchase order date"},"purchaseOrderLabel":{"type":"string","description":"purchase order label"},"comment":{"type":"string","description":"comment of the document"},"relaunchEmail":{"type":"string","description":"relaunch email"},"relaunchPhone":{"type":"string","description":"relaunch phone number"},"completed":{"type":"boolean","description":"if ADV card is completed"}}},"ControlSA":{"type":"object","description":"ControlSA","properties":{"siteId":{"type":"string","description":"Identifier of the control"},"purchasedControl":{"type":"number","description":"controls purchased"},"controllerFormation":{"type":"boolean","description":"checked if formation done"},"formationDate":{"type":"string","format":"dateTime","description":"formation date"},"ControlPeriodicity":{"type":"string","enum":["semaine","mois","autre"],"description":"frequency of controls"},"commentPeriodicity":{"type":"string","description":"commentaire if periodicity 'autre'"},"instruction":{"type":"string","description":"consigne pour les controleurs"},"controllerCAC":{"type":"boolean","description":"annonce si CAC est présent en tant que controleur sur ce site"},"completed":{"type":"boolean","description":"checked if card controls is complete"}}},"SupportSA":{"type":"object","description":"SupportSA","properties":{"siteId":{"type":"string","description":"Identifier of the support"},"userId":{"type":"string","description":"support user identifier"},"relaunchDate":{"type":"string","format":"dateTime","description":"last relaunch date"},"accompaniement1":{"type":"boolean","description":"checked for first formation"},"firstAccompaniementDate":{"type":"string","format":"dateTime","description":"first accompaniement date"},"accompaniement2":{"type":"boolean","description":"checked for second formation"},"secondAccompaniementDate":{"type":"string","format":"dateTime","description":"second accompaniement date"},"otherDocs":{"type":"boolean","description":"checked if the site has other docs"},"otherDocsComment":{"type":"string","description":"comment of other docs"},"apiPublic":{"type":"boolean","description":"checked if public API"},"apiPublicName":{"type":"string","enum":["CAVAS","Neoaxess","Vauban"],"description":"partner name"},"BTPActive":{"type":"boolean","description":"checked if BTP is needed"},"rel1":{"type":"boolean","description":"checked if 1 month is needed"},"rel1Date":{"type":"string","format":"dateTime","description":"relaunch 1 month date"},"rel2":{"type":"boolean","description":"checked if 3 month is needed"},"rel2Date":{"type":"string","format":"dateTime","description":"relaunch 3 month date"},"rel3":{"type":"boolean","description":"checked if 6 month is needed"},"rel3Date":{"type":"string","format":"dateTime","description":"relaunch 6 month date"},"comment":{"type":"string","description":"comment on DO demands"},"serviceStartDate":{"type":"string","format":"dateTime","description":"debut de prestation"},"serviceEndDate":{"type":"string","format":"dateTime","description":"fin de prestation"},"completed":{"type":"boolean","description":"checked if the support card is complete"}}},"Count":{"type":"object","description":null,"properties":{"count":{"type":"string"}}},"ViewAdmin":{"type":"object","description":"viewAdmin","properties":{"id":{"type":"string","readOnly":true},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use in any way"},"siteName":{"type":"string","description":"Name of the site"},"siteId":{"type":"string","description":"id of the site"},"companyName":{"type":"string","description":"Name of the company"},"companyId":{"type":"string","description":"id of the company"},"referenteId":{"type":"string","description":"id of the user in charge"},"referenteName":{"type":"string","description":"name of the user in charge"},"accompaniement":{"type":"boolean","description":"if accompaniement"},"operationStartDate":{"type":"string","format":"dateTime","description":"starting date of the site"},"operationEndDate":{"type":"string","format":"dateTime","description":"end date of site"},"validationState":{"type":"string","enum":["waitingForVerification","validated","refused","archived"]}}},"ViewControl":{"type":"object","description":"viewAdmin","properties":{"id":{"type":"string","readOnly":true},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use in any way"},"siteName":{"type":"string","description":"Name of the site"},"siteId":{"type":"string","description":"id of the site"},"companyName":{"type":"string","description":"Name of the company"},"companyId":{"type":"string","description":"id of the company"},"ControlPeriodicity":{"type":"string","enum":["semaine","mois","autre"],"description":"frequency of controls"},"asPeople":{"type":"boolean","description":"if the site has people"},"hasCompanies":{"type":"string","description":"if has a value, there is some contributors"},"lastControl":{"type":"string","format":"dateTime","description":"last control on this site"},"nextControl":{"type":"string","format":"dateTime","description":"next control on this site"}}},"PatchNote":{"type":"object","description":"Note de mise à jour","properties":{"patchNote":{"type":"string","description":"contenu de la mise à jour"},"appVersion":{"type":"string","description":"version de l'app"},"expiringDate":{"type":"string","format":"dateTime","description":"date d'expiration pour la popup"}}},"CompanyFactuSA":{"type":"object","description":"FactuSA","properties":{"companyId":{"type":"string","description":"Identifier of the company billing"},"billingLabel":{"type":"string","description":"label"},"billingAddress":{"type":"string","description":"billing address"},"billingEmail":{"type":"string","description":"billing email"},"billingTelephone":{"type":"string","description":"billing phone number"},"documentId":{"type":"string","description":"Identifier of the document"},"comment":{"type":"string","description":"comment of the document"},"relaunchEmail":{"type":"string","description":"relaunch email"},"relaunchPhone":{"type":"string","description":"relaunch phone number"}}},"CompanySupportSA":{"type":"object","description":"SupportSA","properties":{"companyId":{"type":"string","description":"Identifier of the support"},"BTPActive":{"type":"boolean","description":"checked if BTP is needed"},"comment":{"type":"string","description":"comment on DO demands"}}},"OptionSiteSA":{"type":"object","description":"Options Selected for each Site","properties":{"siteId":{"type":"string","description":"identifiant du site"},"key":{"type":"string","description":"Identifiant de l'option"},"selected":{"type":"boolean","description":"option selectionnée ou non"}}},"SitePanel":{"type":"object","description":"informations du panneau de chantier","properties":{"siteId":{"type":"string","description":"identifiant du site"},"buildingPermitDate":{"type":"string","format":"dateTime","description":"date d'obtention du permis de construire"},"buildingPermitIdentifier":{"type":"string","description":"identifiant du permis de construire"},"cityHallAddress":{"type":"string","description":"adresse de la mairie ayant delivré le permis de construire"},"PictureId":{"type":"string","description":"id de la photo pour le logo"},"fieldSurface":{"type":"string","description":"superficie du terrain (m²)"},"authorizedFloorSurface":{"type":"string","description":"surface du plancher autorisée (m²)"},"buildingHeight":{"type":"string","description":"Hauteur de la ou des constructions par rapport au terrain naturel (m)"},"showDuration":{"type":"boolean","description":"affichage durée de chantier"},"showPhone":{"type":"boolean","description":"affichage numéros de telephone des intervenants"},"url":{"type":"string","description":"url vers la communication commerciale"}}},"SiteContractor":{"type":"object","description":"informations du maitre d'oeuvre","properties":{"siteId":{"type":"string","description":"identifiant du site"},"name":{"type":"string","description":"Nom du maitre d'oeuvre"},"type":{"type":"string","description":"Type / métier"},"address":{"type":"string","description":"Adresse"},"zipCode":{"type":"string","description":"code postal"},"city":{"type":"string","description":"ville"},"mobile":{"type":"string","description":"numero de telephone"},"photoId":{"type":"string","description":"identifiant de la photo"}}},"Lot":{"type":"object","description":"informations du lot","properties":{"siteId":{"type":"string","description":"identifiant du site"},"partnerId":{"type":"string","description":"Identifiant de l'intervenant"},"lotIdentifier":{"type":"string","description":"Numero du lot qui peut contenir des lettres en plus de nombres"},"lotName":{"type":"string","description":"Nom du lot"}}},"ToDo":{"type":"object","description":"to do liste","properties":{"userId":{"type":"string","description":"id du user"},"expirationDate":{"type":"string","format":"dateTime","description":"date d'expiration"},"toDoDate":{"type":"string","format":"dateTime","description":"date à réaliser"},"doneAt":{"type":"string","format":"dateTime","description":"date de la realisation"},"comment":{"type":"string","description":"commentaire"},"state":{"type":"string","description":"etat (fini, expiré ect)"},"referenceId":{"type":"string","description":"id du site"},"siteName":{"type":"string","description":"nom du site"}}},"SiteRelaunchEntry":{"type":"object","description":"Site control entry. Can validate the presence of a people or declare an incident","required":["siteId","companyId","doneBy","doneByName"],"properties":{"id":{"type":"string","readOnly":true},"version":{"type":"string","readOnly":true,"description":"Internal usage, do not use or update in any way"},"createdAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"updatedAt":{"type":"string","format":"dateTime","readOnly":true,"description":"Internal usage, do not use or update in any way"},"deleted":{"type":"boolean","readOnly":true,"description":"Internal usage, do not use or update in any way"},"siteId":{"type":"string","description":"ID of the site"},"companyId":{"type":"string","description":"ID of the company."},"relaunchDone":{"type":"string","description":"list of relaunch"},"doneBy":{"type":"string","description":"User's id that generate this entry"},"doneByName":{"type":"string","description":"User's name id of the controller"},"comment":{"type":"string","description":"comment link to the call"},"callId":{"type":"string","description":"ID of the call."}}},"DocumentSite":{"type":"object","description":"Documents d'un site","properties":{"comment":{"type":"string","description":"commentaire lié au document"},"doneByName":{"type":"string","description":"Utilisateur ayant ajouté le document"},"doneById":{"type":"string","description":"ID de l'utilisateur ayant ajouté le document"},"referenceId":{"type":"string","description":"ID du site"},"type":{"type":"string","description":"type"},"documentId":{"type":"string","description":"ID du document"}}},"RiskAnalysis":{"type":"object","description":"Risk Analysis","properties":{"siteId":{"type":"string","description":"site identifier"},"date":{"type":"string","description":"Date"},"documentId":{"type":"string","description":"The document id"},"doneByName":{"type":"string"},"index":{"type":"number"}}}},"paths":{"/api/login":{"post":{"summary":"Login a user","description":"Login a user","tags":["Authentication"],"operationId":"login","consumes":["application/json"],"parameters":[{"in":"body","name":"data","description":"the user to login","required":true,"schema":{"type":"object","required":["email","password","mobile"],"properties":{"email":{"type":"string"},"password":{"type":"string"},"mobile":{"type":"boolean","description":"Indicates if we need a login for the mobile app"}}}},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Connected, get credentials","schema":{"$ref":"#/definitions/AuthCredentials"}},"404":{"description":"The user has not been found"}}}},"/api/regenerate":{"get":{"summary":"Regenerate the current auth token","description":"Regenerate a new auth token in case of the current token has expired. Check the existance of the user.","tags":["Authentication"],"operationId":"regenerate","parameters":[{"name":"expire_in","in":"query","description":"Optional parameters to set the expiration time (in seconds)","type":"integer"},{"name":"companyId","in":"query","description":"Optional parameters to set the company Id","type":"string"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"token","description":"The token to regenerate","required":true,"type":"string","in":"header"}],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AuthCredentials"}},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/invitedCompany/{id}":{"get":{"summary":"Get pre saved data of an invited company","description":"Get the pre saved data of an invited company","tags":["Company"],"operationId":"invitedCompanyDetail","consumes":["application/json"],"parameters":[{"in":"path","name":"id","description":"ID of the company we need details","required":true,"type":"string"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return the company that has been invited","schema":{"$ref":"#/definitions/Company"}},"400":{"description":"This company has already registered and is no more an invited one"},"404":{"description":"The company has not been found"}}}},"/api/company/{id}/sites":{"get":{"tags":["Company"],"summary":"Get sites where this company is affected","description":"Get sites where this company is affected","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The Company identifier"},{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"CompanySites","responses":{"200":{"description":"All informations needed to display informations","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/company/{id}/documents":{"get":{"tags":["Company"],"summary":"Get sall documents from this company","description":"Get sall documents from this company","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The Company identifier"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"CompanySites","responses":{"200":{"description":"All informations needed to display informations","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/companyReadyForValidation":{"get":{"tags":["Company"],"summary":"Get a list of all company foreign ready for validation","description":"Get a list of all company foreign ready for validation","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"getCompanyReadyForValidation","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Company"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/cron/cronLaunch":{"post":{"tags":["Cron"],"summary":"launch web jobs","description":"launch web jobs","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"body","description":"The item","required":true,"schema":{"type":"object","properties":{"cronName":{"type":"string"}}},"in":"body"}],"operationId":"cronLaunch","responses":{"200":{"description":"The request item"},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/cron/allCron":{"get":{"summary":"Get all webjobs","description":"Get all webjobs","tags":["Cron"],"operationId":"allCron","consumes":["application/json"],"security":[{"AuthHeader":[]}],"produces":["application/json"],"responses":{"200":{"description":"Return analytics object"}}}},"/api/cron/{cronName}":{"get":{"summary":"Get webjob history","description":"Get the webjob history","tags":["Cron"],"operationId":"getCronHistory","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"cronName","in":"path","type":"string","required":true,"description":"Name of the webjob"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return analytics object"}}}},"/api/cron/{cronName}/{id}":{"get":{"summary":"Get webjob history for an id","description":"Get the webjob history for an id","tags":["Cron"],"operationId":"getCronById","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"cronName","in":"path","type":"string","required":true,"description":"Name of the webjob"},{"name":"id","in":"path","type":"string","required":true,"description":"id of the webjob"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return analytics object","schema":{"$ref":"#/definitions/Company"}}}}},"/api/companyRaise/{id}/archive":{"get":{"tags":["CompanyRaise"],"summary":"Archive this raise","description":"Archive this raise and do not send email to the company","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The Document identifier"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"ArchiveCompanyRaise","responses":{"200":{"description":"Updated company raise","schema":{"$ref":"#/definitions/CompanyRaise"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/companyRaise/{id}/detail":{"get":{"tags":["CompanyRaise"],"summary":"Get details of this raise","description":"Get details of this raise","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The Document identifier"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DetailOfCompanyRaise","responses":{"200":{"description":"All informations needed to display informations","schema":{"type":"object","properties":{"companyRaise":{"$ref":"#/definitions/CompanyRaise"},"company":{"$ref":"#/definitions/Company"},"adminUsers":{"type":"array","items":{"$ref":"#/definitions/User"}},"nbWaitingForSubmissionPeople":{"type":"number"},"nbRefusedPeople":{"type":"number"},"nbValidatedPeople":{"type":"number"},"nbIncidents":{"type":"number"}}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/companyRaise/{id}/revive":{"get":{"tags":["CompanyRaise"],"summary":"Revive this company","description":"Revice this company and send an email","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The Document identifier"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"ReviveCompanyRaise","responses":{"200":{"description":"Updated company raise","schema":{"$ref":"#/definitions/CompanyRaise"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard":{"get":{"summary":"Get dashboard statistics","description":"Get statistics","tags":["Misc"],"operationId":"getDashboardValues","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"in":"query","name":"startAt","type":"string","format":"dateTime"},{"in":"query","name":"endAt","type":"string","format":"dateTime"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return analytics object","schema":{"$ref":"#/definitions/Analytic"}}}}},"/api/document/upload":{"post":{"summary":"Upload a document","description":"Upload a document","operationId":"uploadDocument","tags":["Document"],"security":[{"AuthHeader":[]}],"consumes":["multipart/form-data"],"parameters":[{"name":"uploadedFile","in":"formData","description":"The uploaded file data","required":true,"type":"file"},{"name":"referenceId","in":"formData","description":"ID of the reference (employeeId, interimId, siteId, ...)","required":true,"type":"string"},{"name":"referenceKind","in":"formData","description":"Kind of the reference","required":true,"type":"string","enum":["employee","employeeQualification","interim","interimQualification","subleaseEmployee","site","incident","company","accreditation","qualification"]},{"name":"internalName","in":"formData","description":"Internal name of the document. (identityPicture, DITO, ). Only contains alphanumeric and underscore character.","required":true,"type":"string"},{"name":"name","in":"formData","type":"string","required":true,"description":"Name of the document. Ideally the well formatted name of the internalName."},{"name":"expireAt","in":"formData","type":"string","format":"dateTime","description":"Date when the document will expire"},{"name":"extra1","in":"formData","type":"string","description":"Extra field"},{"name":"maxDim","in":"formData","type":"integer","description":"In case of uploading an image, maximum dimension (width and / or height) of the source image"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"The new Document object","schema":{"$ref":"#/definitions/Document"}},"400":{"$ref":"#/responses/UnauthorizedError"}}}},"/api/document/{reference_id}/token":{"post":{"summary":"Update token of a btp card","description":"Update token of a btp card","operationId":"updateBTPCard","tags":["Document"],"security":[{"AuthHeader":[]}],"consumes":["application/json"],"parameters":[{"name":"reference_id","in":"path","type":"string","required":true,"description":"The reference identifier"},{"in":"body","name":"data","description":"the token to update","required":true,"schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string"}}}},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Success"},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/document/{id}/file":{"get":{"summary":"Get the file associated with the document","description":"Returns a full length file","tags":["Document"],"operationId":"getFullPathDocument","parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The Document identifier"},{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"},{"name":"onlyDisplay","description":"If true, do not define the attachment name so that the file is displayed instead of downloaded","type":"boolean","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/get/documents/for/employee/{id}":{"post":{"tags":["Employee","Interim","SubleaseEmployee"],"summary":"Query additional documents that can be uploaded on an Employee / Interim / SubleaseEmployee","description":"Returns all the complementary documents that can be uploaded on an Employee / Interim / SubleaseEmployee.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","type":"string","in":"path","description":"ID of the employee / interim / subleaseEmployee","required":true},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"GetDocumentsForEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"object","properties":{"accreditations":{"type":"array","items":{"$ref":"#/definitions/AdditionalDocument"}},"qualifications":{"type":"array","items":{"$ref":"#/definitions/AdditionalDocument"}}}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/partner/invite":{"post":{"summary":"Invite a partner","description":"Invite for a partner","tags":["Partner"],"operationId":"invitePartner","consumes":["application/json"],"parameters":[{"in":"body","name":"data","description":"informations to ask for inviting the partner.","required":true,"schema":{"type":"object","required":["name","domiciliation","identifier","emailContact"],"properties":{"name":{"type":"string","description":"in french raison sociale"},"domiciliation":{"type":"string"},"identifier":{"type":"string","description":"can be the Siret, Duns or intracom Tax free"},"ape":{"type":"string","description":"French APE code. If the company is not french, no need to fill this field"},"emailContact":{"type":"string","description":"Email to send the inviation on. This email is added to the company emailContact field."},"phone":{"type":"string","description":"Phone number."}}}},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"companyId","description":"ID of the company that do the request. Only usable when the user is a super super admin","type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"Invitation sent with success"},"409":{"description":"The invitation cannot be sent because this company already exists in the Activigie DB"},"500":{"description":"An error occured while sending the email"}}}},"/api/partner/import":{"post":{"summary":"Import an excel","description":"Import an exce","tags":["Partner"],"operationId":"importPartners","consumes":["multipart/form-data"],"parameters":[{"name":"uploadedFile","in":"formData","description":"The uploaded file data","required":true,"type":"file"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Import with success"},"400":{"$ref":"#/responses/UnauthorizedError"},"500":{"description":"An error occured"}}}},"/api/partner/export":{"get":{"summary":"Export list of partner","description":"Returns an excel file containing all data of a partner","tags":["Partner"],"operationId":"exportPartners","parameters":[{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/partner/{id}/employees":{"get":{"tags":["Partner"],"summary":"Query the Employee table to only get this partner","description":"Only employees from the partner will be returned, as we can't lease an interim or subleaseEmploye","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The Document identifier"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryEmployeeFromPartner","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Employee"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/contributor/{id}":{"get":{"summary":"Add a company contributor on a Site","description":"Add a company contributor on a Site","tags":["Site"],"operationId":"addCompanyContributorOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id","description":"The company identifier","required":true,"type":"string","in":"path"},{"name":"forcedCompanyId","description":"forced company identifier for the origin of the demand. Only usabled if the connected user is a super super admin","type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted company contributor on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}},"delete":{"summary":"Refuse a company contributor from a Site","description":"Refuse a company contributor from a Site","tags":["Site"],"operationId":"refuseContributorFromSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id","description":"The site company contributor identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"ok","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}}},"/api/site/{id_site}/contributor/{id_site_contributor}/validate":{"get":{"summary":"Validate a company contributor on a Site","description":"Validate a company contributor on a Site","tags":["Site"],"operationId":"validateCompanyContributorOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_site_contributor","description":"The site contributor identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted company contributor on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}}},"/api/site/{id_site}/refuse/contributor":{"post":{"summary":"Refuse a company contributor on a Site","description":"Refuse a company contributor on a Site","tags":["Site"],"operationId":"refuseCompanyContributorOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The site contributor body","required":true,"in":"body","schema":{"type":"object","required":["partnerId"],"properties":{"partnerId":{"type":"string"},"refusedReason":{"type":"string"}}}},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully refuse company contributor on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}}},"/api/site/{id_site}/contributor/{id_site_contributor}/relance":{"get":{"summary":"Relance a company contributor on a Site","description":"Relance a company contributor on a Site","tags":["Site"],"operationId":"relanceCompanyContributorOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_site_contributor","description":"The site contributor identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully relance company contributor on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}}},"/api/site/{id_site}/controllerCompanies/{id}":{"get":{"summary":"Add a company controllerCompany on a Site","description":"Add a company controllerCompany on a Site","tags":["Site"],"operationId":"addCompanyControllerCompanyOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id","description":"The company identifier","required":true,"type":"string","in":"path"},{"name":"forcedCompanyId","description":"forced company identifier for the origin of the demand. Only usabled if the connected user is a super super admin","type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted company controllerCompany on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}},"delete":{"summary":"Refuse a company controllerCompany from a Site","description":"Refuse a company controllerCompany from a Site","tags":["Site"],"operationId":"refuseControllerFromSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id","description":"The site company controllerCompany identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"ok","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}}},"/api/site/{id_site}/controllerCompanies/{id_controller_company}/validate":{"get":{"summary":"Vaidate a company controllerCompany on a Site","description":"Validate a company controllerCompany on a Site","tags":["Site"],"operationId":"validateCompanyControllerCompanyOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_controller_company","description":"The company identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted company controllerCompany on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}}},"/api/site/{id_site}/refuse/controllerCompanies":{"post":{"summary":"Refuse a controllerCompany on a Site","description":"Refuse a controllerCompany on a Site","tags":["Site"],"operationId":"refuseControllerCompanyOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The site controllerCompany body","required":true,"type":"string","in":"body","schema":{"type":"object","required":["partnerId"],"properties":{"partnerId":{"type":"string"},"refusedReason":{"type":"string"}}}}],"produces":["application/json"],"responses":{"200":{"description":"Successfully refuse controllerCompany on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or company does not exist"}}}},"/api/site/{id_site}/employee/{id_employee}":{"get":{"summary":"Add an employee on a Site","description":"Add an employee on a Site","tags":["Site"],"operationId":"addEmployeeOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_employee","description":"The employee identifier","required":true,"type":"string","in":"path"},{"name":"siteJobIds","description":"Optional list of job id separated by a comma","type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted employee on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or employee does not exist"}}},"delete":{"summary":"Remove an employee from a Site","description":"Remove an employee from a Site","tags":["Site"],"operationId":"removeEmployeeFromSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_employee","description":"The employee identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Deleted inserted employee on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or employee does not exist"}}}},"/api/site/{id_site}/interim/{id_interim}":{"get":{"summary":"Add an interim on a Site","description":"Add an interim on a Site","tags":["Site"],"operationId":"addInterimOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_interim","description":"The interim identifier","required":true,"type":"string","in":"path"},{"name":"siteJobIds","description":"Optional list of job id separated by a comma","type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted interim on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or interim does not exist"}}},"delete":{"summary":"Remove an interim from a Site","description":"Remove an interim from a Site","tags":["Site"],"operationId":"removeInterimFromSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_interim","description":"The interim identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Deleted inserted interim on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or interim does not exist"}}}},"/api/site/{id_site}/subleaseEmployee/{id_subleaseEmployee}":{"get":{"summary":"Add an subleaseEmployee on a Site","description":"Add an subleaseEmployee on a Site","tags":["Site"],"operationId":"addSubleaseEmployeeOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_subleaseEmployee","description":"The subleaseEmployee identifier","required":true,"type":"string","in":"path"},{"name":"siteJobIds","description":"Optional list of job id separated by a comma","type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted subleaseEmployee on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or subleaseEmployee does not exist"}}},"delete":{"summary":"Remove an subleaseEmployee from a Site","description":"Remove an subleaseEmployee from a Site","tags":["Site"],"operationId":"removeSubleaseEmployeeFromSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_subleaseEmployee","description":"The subleaseEmployee identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Deleted inserted subleaseEmployee on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or subleaseEmployee does not exist"}}}},"/api/site/{id_site}/partner/{id_partner}/employees":{"get":{"tags":["Site"],"summary":"Find employees of a site partner","description":"Return all the employees of a site partner.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id_partner","description":"The partner identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSitePartnerEmployees","responses":{"200":{"description":"The request item","schema":{"type":"array","items":{"type":"object","properties":{"firstname":{"type":"string"},"lastname":{"type":"string"},"kind":{"type":"string","enum":["employee","interim","subleaseEmployee"]},"validationState":{"type":"string"},"jobIds":{"type":"array","items":{"type":"string"}},"jobNames":{"type":"array","items":{"type":"string"}},"authorisationDate":{"type":"string"},"documents":{"type":"array","items":{"type":"string"}}}}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/contributors":{"get":{"tags":["Site"],"summary":"Find contributors of a site","description":"Return all the contributors of a site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteContributors","responses":{"200":{"description":"The request item","schema":{"type":"array","items":{"$ref":"#/definitions/SiteContributor"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/contributors/export":{"get":{"summary":"Export list of contributors for a site","description":"Returns a xls file containing all data of contributors for a site","tags":["Site"],"operationId":"ExportSiteContributors","parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/site/{id_site}/incidents/export":{"get":{"summary":"Export list of incidents for a site","description":"Returns a xls file containing all data of incidents for a site","tags":["Site"],"operationId":"ExportSiteContributors","parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/site/{id_site}/controls":{"get":{"tags":["Site"],"summary":"Find controls of a site","description":"Return all controls of a site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteControls","responses":{"200":{"description":"The request item","schema":{"type":"array","items":{"$ref":"#/definitions/SiteControl"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/controllerCompanies":{"get":{"tags":["Site"],"summary":"Find controllerCompanies of a site","description":"Return all the controllerCompanies of a site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteControllerCompanies","responses":{"200":{"description":"The request item","schema":{"type":"array","items":{"$ref":"#/definitions/SiteControllerCompany"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/controllerUsers":{"get":{"tags":["Site"],"summary":"Find controllerUsers of a site","description":"Return all the controllerUsers of a site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteControllerUsers","responses":{"200":{"description":"The request item","schema":{"type":"array","items":{"$ref":"#/definitions/SiteControllerUser"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/controllerUsers/{id}":{"delete":{"summary":"Refuse a user controllerUser from a Site","description":"Refuse a user controllerUser from a Site","tags":["Site"],"operationId":"refuseUser ControllerFromSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id","description":"The site user controllerUser identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"ok","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or user does not exist"}}}},"/api/site/{id_site}/controllerUsers/{id}/{companyId}":{"get":{"summary":"Add a user controllerUser on a Site","description":"Add a user controllerUser on a Site","tags":["Site"],"operationId":"addUserControllerCompanyOnSite","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id","description":"The user identifier","required":true,"type":"string","in":"path"},{"name":"companyId","description":"The company of the user","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted user controllerUser on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or user does not exist"}}}},"/api/site/{id_site}/controllerCompanyUsers":{"get":{"summary":"Get the controller users","description":"Get the controller users of all controller companies and own company","tags":["Site"],"operationId":"getControllerCompanyUsers","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully returned controller users"},"400":{"description":"Missing parameters"},"404":{"description":"The site or controller users does not exist"}}}},"/api/site/{id_site}/myPeople":{"get":{"tags":["Site"],"summary":"Find my employees, interims and sublease employees of a site","description":"Return all my employees, interims and sublease employees of a site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"control","description":"Controller can specify if it's for a control and the list will return all peoples for the site.","type":"boolean","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSitePeople","responses":{"200":{"description":"All data","schema":{"type":"array","items":{"$ref":"#/definitions/People"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/myPeople/{kind}/{id}":{"get":{"summary":"Get the people info","description":"Get the people info from a controller's site","tags":["Site"],"operationId":"getSitePeopleInfo","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"kind","description":"The type of the people","required":true,"type":"string","in":"path"},{"name":"id","required":true,"description":"The people id","type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted interim on site","schema":{"$ref":"#/definitions/Standard"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or interim does not exist"}}}},"/api/site/{id_site}/qualifications":{"get":{"tags":["Site"],"summary":"Find qualifications of a site","description":"Return all the qualifications of a site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteQualificationsForSepecificSite","responses":{"200":{"description":"The request item","schema":{"type":"array","items":{"$ref":"#/definitions/SiteQualification"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/accreditations":{"get":{"tags":["Site"],"summary":"Find accreditations of a site","description":"Return all the accreditations of a site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteAccreditationsForSepecificSite","responses":{"200":{"description":"The request item","schema":{"type":"array","items":{"$ref":"#/definitions/SiteAccreditation"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/dashboard":{"get":{"summary":"Get site dashboard statistics","description":"Get statistics","tags":["Site"],"operationId":"getSiteDashboardValues","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return site analytics object","schema":{"$ref":"#/definitions/SiteAnalytic"}}}}},"/api/site/{id_site}/refreshMobileCache":{"get":{"tags":["Site","Mobile"],"summary":"Refresh the mobile cache for this site","description":"Refresh the mobile cache for this site","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSitePeople","responses":{"200":{"description":"Cache generated"},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/gdpr/for/{kind}/{id}":{"get":{"summary":"Get all data for a people","description":"Returns a zip containing all data of a people","tags":["Document","Employee","Interim"],"operationId":"getPeopleGDPRDocuments","parameters":[{"name":"kind","in":"path","type":"string","required":true,"description":"The type of the people","enum":["employee","interim"]},{"name":"id","in":"path","type":"string","required":true,"description":"ID of the employee or interim employee"},{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/divisions":{"get":{"summary":"Get available divisions for a company","description":"Get available divisions for a company","tags":["Company"],"operationId":"getCompanyDivision","consumes":["application/json"],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return list of divisions"}}}},"/api/siteControl/{id}/export":{"get":{"summary":"generate a PDF which resume a siteControl","description":"Returns a pdf file containing all data of a siteControl","tags":["SiteControl"],"operationId":"exportSiteControl","parameters":[{"name":"id","description":"The site control identifier","required":true,"type":"string","in":"path"},{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"}],"produces":["application/pdf"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/siteControl/{id}/lrar/{id_company}":{"get":{"summary":"generate an LRAR for a company","description":"Returns a pdf file containing a LRAR","tags":["SiteControl"],"operationId":"generateLRARForACompany","parameters":[{"name":"id","description":"The site control identifier","required":true,"type":"string","in":"path"},{"name":"id_company","description":"The company identifier","required":true,"type":"string","in":"path"},{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"}],"produces":["application/pdf"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/siteControlEntry/export":{"get":{"summary":"Export list of incidents","description":"Returns an excel file containing all incidents of a site","tags":["SiteControlEntry"],"operationId":"exportSiteControlEntry","parameters":[{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/site/{id_site}/companies":{"get":{"tags":["Site"],"summary":"Find contributors of a site without hierarchies","description":"Return all the contributors of a site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteContributors","responses":{"200":{"description":"The request item","schema":{"type":"array","items":{"$ref":"#/definitions/SiteContributor"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/apiKey/{id}/dashboard":{"get":{"summary":"Get api key dashboard statistics","description":"Get api Key statistics","tags":["ApiKey"],"operationId":"getApiKeyDashboardValues","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The apiKey identifier","required":true,"type":"string","in":"path"},{"in":"query","name":"startAt","type":"string","format":"dateTime"},{"in":"query","name":"endAt","type":"string","format":"dateTime"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return api key analytics object"}}}},"/api/employee/sitesEmployee/{id}":{"get":{"tags":["Employee"],"summary":"Find all sites link to the Employee","description":"Return the Site List that corresponds with the provided id.","operationId":"getSitesByEmployee","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/interim/sitesInterim/{id}":{"get":{"tags":["Interim"],"summary":"Find all sites link to the Interim","description":"Return the Site List that corresponds with the provided id.","operationId":"getSitesByEmployee","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/subleaseEmployee/sitesSubleaseEmployee/{id}":{"get":{"tags":["SubleaseEmployee"],"summary":"Find all sites link to the SubleaseEmployee","description":"Return the Site List that corresponds with the provided id.","operationId":"getSitesByEmployee","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/employee/{kind}/{id}":{"get":{"summary":"Get employee in the Site","description":"Get employee in the Site","tags":["Site"],"operationId":"getFicheEmployee","consumes":["application/json"],"security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"id","description":"The employee identifier","required":true,"type":"string","in":"path"},{"name":"kind","description":"The type of the people","required":true,"type":"string","in":"path"}],"produces":["application/json"],"responses":{"200":{"description":"Successfully inserted employee on site","schema":{"$ref":"#/definitions/Employee"}},"400":{"description":"Missing parameters"},"404":{"description":"The site or employee does not exist"}}}},"/api/activityReport/site":{"get":{"tags":["ActivityReport"],"summary":"List of sites available for admin","description":"List of site available for admin","operationId":"getSiteForActivityReport","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/activityReport/site/{id_site}/company":{"get":{"tags":["ActivityReport"],"summary":"Get a list of all company link to a site","description":"Get a list of all company link to a site","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"}],"operationId":"getCompanyForActivityReport","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Company"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/activityReport/site/{id_site}/export":{"get":{"summary":"Export activity report for a site","description":"Returns an excel file containing activity report of a site","tags":["ActivityReport"],"operationId":"exportActivityReport","parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"token","description":"The token in query for easier display","required":true,"type":"string","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/api/cgu/upload":{"post":{"summary":"Upload a cgu","description":"Upload a document","operationId":"uploadDocument","tags":["Cgu"],"security":[{"AuthHeader":[]}],"consumes":["multipart/form-data"],"parameters":[{"name":"uploadedFile","in":"formData","description":"The uploaded file data","required":true,"type":"file"},{"name":"versionId","in":"formData","description":"ID of the reference (employeeId, interimId, siteId, ...)","required":true,"type":"string"},{"name":"versionName","in":"formData","description":"Internal name of the document. (identityPicture, DITO, ). Only contains alphanumeric and underscore character.","required":true,"type":"string"},{"name":"maxDim","in":"formData","type":"integer","description":"In case of uploading an image, maximum dimension (width and / or height) of the source image"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"The new Document object","schema":{"$ref":"#/definitions/Document"}},"400":{"$ref":"#/responses/UnauthorizedError"}}}},"/api/cgu/{id}/file":{"get":{"summary":"Get the file associated with the cgu","description":"Returns a full length file","tags":["Cgu"],"operationId":"getFullPathDocument","parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The cgu identifier"},{"name":"token","description":"The token in query for easier display","type":"string","in":"query"},{"name":"onlyDisplay","description":"If true, do not define the attachment name so that the file is displayed instead of downloaded","type":"boolean","in":"query"}],"produces":["application/json"],"responses":{"200":{"description":"File content"},"404":{"description":"An error occured with the credentials, user has been removed or deactivated"}}}},"/mobile/site/{id_site}/company":{"get":{"tags":["Mobile"],"summary":"Return list of companies admitted to the site","description":"Return list of companies admitted to the site","operationId":"getCompanyBySite","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","in":"path","type":"string","required":true},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/CompanySite"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/mobile/site/{id_site}/people":{"get":{"tags":["Mobile"],"summary":"List of people available on site","description":"List of people available on site","operationId":"getPeopleBySite","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","in":"path","type":"string","required":true},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/PeopleSite"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/mobile/site":{"get":{"tags":["Mobile"],"summary":"List of sites available for controller","description":"List of site available for controller","operationId":"getSiteByController","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/ControllerSites"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/mobile/siteControl/{id_site}/entries":{"post":{"tags":["Mobile"],"summary":"Post control entries data","description":"Post control entries data","operationId":"postControlEntries","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","required":true,"in":"path","type":"string"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"},{"name":"data","in":"body","description":"the list of entries","required":true,"schema":{"type":"object","required":["known","unknown"],"properties":{"known":{"type":"array","items":{"type":"object","required":["authorized","id","companyId","companyName"],"properties":{"id":{"type":"string"},"companyId":{"type":"string"},"lastname":{"type":"string"},"firstname":{"type":"string"},"companyName":{"type":"string"},"authorized":{"type":"boolean"},"incidentOtherReason":{"type":"string"},"incidentType":{"type":"string"}}}},"unknown":{"type":"array","items":{"type":"object","required":["lastname","firstname","companyName","peopleType"],"properties":{"lastname":{"type":"string"},"firstname":{"type":"string"},"companyId":{"type":"string"},"companyName":{"type":"string"},"peopleType":{"type":"string","enum":["employee","interim","pmo"]},"incidentOtherReason":{"type":"string"},"incidentType":{"type":"string"}}}},"siteControl":{"type":"object","required":["startedAt","endedAt"],"properties":{"controllerId":{"type":"string"},"controllerCompanyId":{"type":"string"},"startedAt":{"type":"string","format":"dateTime"},"endedAt":{"type":"string","format":"dateTime"},"revivalAt":{"type":"string","format":"dateTime"},"startLatitude":{"type":"string"},"startLongitude":{"type":"string"},"endLatitude":{"type":"string"},"endLongitude":{"type":"string"},"countIncident":{"type":"string"},"countValid":{"type":"string"}}}}}}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/ControlEntries"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/people/verification":{"get":{"tags":["People"],"summary":"Find the people card that need to be verified","description":"Find the oldest people card that needs to be verified and is not already in progress","operationId":"getPeopleCard","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/PeopleCard"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/support/siteStart":{"get":{"tags":["dashboard"],"summary":"gives all sites starting between now and +30days","description":"gives all sites starting between now and +30days","operationId":"siteStart","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/support/serviceEnd":{"get":{"tags":["dashboard"],"summary":"Renvoie les sites dont la date de fin de prestation est dans moins de 30 jours","description":"Renvoie les sites dont la date de fin de prestation est dans moins de 30 jours","operationId":"serviceEnd","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/support/companyWaiting":{"get":{"tags":["dashboard"],"summary":"gives all companies with status waitingForVerification","description":"gives all companies with status waitingForVerification","operationId":"companyWaiting","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Company"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/support/siteIncident":{"get":{"tags":["dashboard"],"summary":"gives all sites that has more than x incidents","description":"gives all sites that has more than x incidents","operationId":"siteIncident","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/support/siteStopped":{"get":{"tags":["dashboard"],"summary":"gives all sites stopped for 30days","description":"gives all sites stopped for 30days","operationId":"siteStopped","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/stats/yesterdayPeople":{"get":{"tags":["dashboard"],"summary":"gives all treated files from yesterday","description":"gives all treated files from yesterday","operationId":"yesterdayPeople","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"$ref":"#/definitions/Count"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/stats/sixMonthsPeople":{"get":{"tags":["dashboard"],"summary":"gives all treated files from 6 months","description":"gives all treated files from 6 months","operationId":"sixMonthsPeople","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"$ref":"#/definitions/Count"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/stats/sixMonthsRelaunch":{"get":{"tags":["dashboard"],"summary":"gives all relaunches from 6 months","description":"gives all relaunches from 6 months","operationId":"sixMonthsRelaunch","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"$ref":"#/definitions/Count"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/control/noControlMonth":{"get":{"tags":["dashboard"],"summary":"gives all sites that had no controls in the past 30 days","description":"gives all sites that had no controls in the past 30 days","operationId":"noControlMonth","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/support/noCompany":{"get":{"tags":["dashboard"],"summary":"gives all people with no company","description":"gives all people with no company","operationId":"noControlMonth","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"contractType":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"}}}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/stats/statsZendeskCallInbound":{"get":{"tags":["dashboard"],"summary":"renvoie les appels entrant de zendesk","description":"renvoie les appels entrant de zendesk","operationId":"getStatsZendeskCallInbound","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query"},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/stats/statsZendeskCallOutbound":{"get":{"tags":["dashboard"],"summary":"renvoie les appels sortant de zendesk","description":"renvoie les appels sortant de zendesk","operationId":"getStatsZendeskCallOutbound","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query"},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/stats/statsZendeskMail":{"get":{"tags":["dashboard"],"summary":"renvoie tickets de mail de zendesk","description":"renvoie les appels sortant de zendesk","operationId":"getStatsZendeskMail","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query"},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/dashboard/stats/statsZendeskRelaunch":{"get":{"tags":["dashboard"],"summary":"renvoie les relances realisées depuis Zendesk","description":"renvoie les relances realisées depuis Zendesk","operationId":"getStatsZendeskRelaunch","security":[{"AuthHeader":[]}],"parameters":[{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"An array of items matching the provided query"},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/panel/{id_site}/sitePanel":{"get":{"summary":"Get sitePanel data","description":"Get sitePanel data","tags":["Panel"],"operationId":"getSitePanel","consumes":["application/json"],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return site analytics object"}}}},"/api/panel/{id_site}/siteContractor":{"get":{"summary":"Get siteContractor data","description":"Get siteContractor data","tags":["Panel"],"operationId":"getSiteContractor","consumes":["application/json"],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"produces":["application/json"],"responses":{"200":{"description":"Return site analytics object"}}}},"/api/siteContributor/{siteId}/{companyId}/upContributor":{"get":{"tags":["SiteContributor"],"summary":"Get the contributor of this site","description":"Get the contributor of this site","security":[{"AuthHeader":[]}],"parameters":[{"name":"siteId","in":"path","type":"string","required":true,"description":"The site identifier"},{"name":"companyId","in":"path","type":"string","required":true,"description":"The site identifier"},{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"SubPartnerSites","responses":{"200":{"description":"All informations needed to display informations","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/relaunch":{"post":{"tags":["Site"],"summary":"Relaunch company in site","description":"Relaunch company in site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"data","in":"body","description":"the user to login","required":true,"schema":{"type":"object","required":["companyId","callId","comment"],"properties":{"companyId":{"type":"string"},"callId":{"type":"string"},"comment":{"type":"string"}}}},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"RelaunchCompany","responses":{"200":{"description":"All data","schema":{"type":"array","items":{"$ref":"#/definitions/Company"}}},"400":{"description":"The format of the request was incorrect"},"500":{"description":"An internal error occurred"}}}},"/api/site/{id_site}/relaunch/sendMail":{"post":{"tags":["Site"],"summary":"Relaunch company in site","description":"Relaunch company in site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"data","in":"body","description":"the user to login","required":true,"schema":{"type":"object","required":["companyId"],"properties":{"companyId":{"type":"string"}}}},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"RelaunchCompany","responses":{"200":{"description":"Email sent with success"},"500":{"description":"An error occured while sending the email"}}}},"/api/site/{id_site}/relaunch/sendResume":{"post":{"tags":["Site"],"summary":"Send Relaunch Resume company in site","description":"Send Relaunch Resume company in site.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"data","in":"body","description":"the user to login","required":true,"schema":{"type":"object","properties":{"companyId":{"type":"string"}}}},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"ResumeRelaunch","responses":{"200":{"description":"Email sent with success"},"500":{"description":"An error occured while sending the email"}}}},"/api/view/{id_site}/viewControlCompany":{"get":{"tags":["ViewControl"],"summary":"Query the poeple.","description":"'The provided OData query is evaluated and an array of Employee objects is returned. If no OData query is specified, all items are returned.'\n\n# Details\nWhen using a mobile token, only marked as sync sites are used for getting employees.\n\nWhen using a web token, for getting employees of a company, use /api/company/{id}/employees. For getting employees of a site, use the /api/site/{id}/employees method.\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Company"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/view/{id_site}/viewControlPeople":{"get":{"tags":["ViewControl"],"summary":"Query the people.","description":"'The provided OData query is evaluated and an array of Employee objects is returned. If no OData query is specified, all items are returned.'\n\n# Details\nWhen using a mobile token, only marked as sync sites are used for getting employees.\n\nWhen using a web token, for getting employees of a company, use /api/company/{id}/employees. For getting employees of a site, use the /api/site/{id}/employees method.\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/People"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/view/viewAdminPeople":{"get":{"tags":["ViewAdminPeople"],"summary":"Query the people.","description":"'The provided OData query is evaluated and an array of Employee and Interim objects is returned. If no OData query is specified, all items are returned.'\n\nWhen using a web token, for getting employees of a company, use /api/company/{id}/employees. For getting employees of a site, use the /api/site/{id}/employees method.\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Employee"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/view/viewAdmin":{"get":{"tags":["ViewAdmin"],"summary":"Query the admin tables.","description":"'The provided OData query is evaluated and an array of admin tables objects is returned. If no OData query is specified, all items are returned.'\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/ViewAdmin"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/view/viewControl":{"get":{"tags":["ViewAdmin"],"summary":"Query the control table.","description":"'The provided OData query is evaluated and an array of control tables objects is returned. If no OData query is specified, all items are returned.'\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/ViewControl"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/view/{id_site}/viewRelanceCompanySA":{"get":{"tags":["ViewRelanceCompanySA"],"summary":"Query the people.","description":"'The provided OData query is evaluated and an array of Employee objects is returned. If no OData query is specified, all items are returned.'\n\n# Details\nWhen using a mobile token, only marked as sync sites are used for getting employees.\n\nWhen using a web token, for getting employees of a company, use /api/company/{id}/employees. For getting employees of a site, use the /api/site/{id}/employees method.\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"id_site","description":"The site identifier","required":true,"type":"string","in":"path"},{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryRelance","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Company"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/export/exportSuiviSite":{"get":{"tags":["Site"],"summary":"Suivi des sites.","description":"Renvoie un fichier excel de suivi des sites","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"exportSite","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/export/suiviSite":{"get":{"tags":["Site"],"summary":"Suivi des sites.","description":"Renvoie un fichier excel de suivi des sites","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"exportSite","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/api/export/{siteId}/exportControllerUsers":{"get":{"tags":["Site"],"summary":"Controleurs autorisé.","description":"Renvoie un fichier excel des controleurs autorisé","security":[{"AuthHeader":[]}],"parameters":[{"name":"siteId","in":"path","type":"string","required":true,"description":"l'identifiant du site"},{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"exportControllerUsers","responses":{"200":{"description":"An array of items matching the provided query"},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/export/lots":{"get":{"tags":["Lots"],"summary":"Query the Lots to export.","description":"Returns an excel file containing all incidents of a site","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"exportLots","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Lot"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/apiKey":{"get":{"tags":["ApiKey"],"summary":"Query the ApiKey table","description":"The provided OData query is evaluated and an array of ApiKey objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryApiKey","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/ApiKey"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["ApiKey"],"summary":"Insert a record into the ApiKey table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/ApiKey"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertApiKey","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/ApiKey"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/ApiKey"}},"500":{"description":"An internal error occurred"}}}},"/tables/apiKey/{id}":{"get":{"tags":["ApiKey"],"summary":"Find a specific record in the ApiKey table","description":"Return the ApiKey object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindApiKey","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/ApiKey"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["ApiKey"],"summary":"Undelete a record from the ApiKey table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteApiKey","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/ApiKey"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ApiKey"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ApiKey"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["ApiKey"],"summary":"Update a record in the ApiKey table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/ApiKey"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateApiKey","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/ApiKey"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ApiKey"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ApiKey"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["ApiKey"],"summary":"Delete a record from the ApiKey table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteApiKey","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/ApiKey"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ApiKey"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ApiKey"}},"500":{"description":"An internal error occurred"}}}},"/tables/apiKeyLog":{"get":{"tags":["ApiKeyLog"],"summary":"Query the ApiKeyLog table","description":"The provided OData query is evaluated and an array of ApiKeyLog objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryApiKeyLog","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/ApiKeyLog"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/apiKeyLog/{id}":{"get":{"tags":["ApiKeyLog"],"summary":"Find a specific record in the ApiKeyLog table","description":"Return the ApiKeyLog object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindApiKeyLog","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/ApiKeyLog"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/company":{"get":{"tags":["Company"],"summary":"Query the Company table","description":"The provided OData query is evaluated and an array of Company objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryCompany","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Company"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Company"],"summary":"Insert a record into the Company table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Company"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertCompany","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/Company"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/Company"}},"500":{"description":"An internal error occurred"}}}},"/tables/company/{id}":{"get":{"tags":["Company"],"summary":"Find a specific record in the Company table","description":"Return the Company object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindCompany","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Company"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Company"],"summary":"Undelete a record from the Company table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteCompany","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/Company"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Company"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Company"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["Company"],"summary":"Update a record in the Company table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Company"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateCompany","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/Company"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Company"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Company"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["Company"],"summary":"Delete a record from the Company table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteCompany","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/Company"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Company"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Company"}},"500":{"description":"An internal error occurred"}}}},"/tables/companyMobile":{"get":{"tags":["Mobile"],"summary":"Query the CompanyMobile table","description":"The provided OData query is evaluated and an array of CompanyMobile objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryCompanyMobile","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/CompanyMobile"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/companyRaise":{"get":{"tags":["CompanyRaise"],"summary":"Query the CompanyRaise table","description":"The provided OData query is evaluated and an array of CompanyRaise objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryCompanyRaise","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/CompanyRaise"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/document":{"get":{"tags":["Document"],"summary":"Query the Document table for controllers. Only available for mobile app","description":"The provided OData query is evaluated and an array of Document objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryDocument","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Document"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Document"],"summary":"Insert a record into the Document table - Only available for mobile","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Document"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertDocument","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/Document"}},"500":{"description":"An internal error occurred"}}}},"/tables/document/{id}":{"get":{"tags":["Document"],"summary":"Find a specific record in the Document table","description":"Return the Document object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindDocument","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Document"],"summary":"Undelete a record from the Document table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteDocument","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["Document"],"summary":"Update a record in the Document table - Only available for mobile","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Document"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateDocument","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["Document"],"summary":"Delete a record from the Document table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteDocument","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"500":{"description":"An internal error occurred"}}}},"/tables/documentMobile":{"get":{"tags":["Mobile"],"summary":"Query the DocumentMobile table for controllers. Only available for mobile app","description":"The provided OData query is evaluated and an array of DocumentMobile objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryDocumentMobile","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/DocumentMobile"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/employee":{"get":{"tags":["Employee"],"summary":"Query the Employee table.","description":"'The provided OData query is evaluated and an array of Employee objects is returned. If no OData query is specified, all items are returned.'\n\n# Details\nWhen using a mobile token, only marked as sync sites are used for getting employees.\n\nWhen using a web token, for getting employees of a company, use /api/company/{id}/employees. For getting employees of a site, use the /api/site/{id}/employees method.\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Employee"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Employee"],"summary":"Insert a record into the Employee table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Employee"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertEmployee","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/Employee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/Employee"}},"500":{"description":"An internal error occurred"}}}},"/tables/employee/{id}":{"get":{"tags":["Employee"],"summary":"Find a specific record in the Employee table","description":"Return the Employee object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindEmployee","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Employee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Employee"],"summary":"Undelete a record from the Employee table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteEmployee","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/Employee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Employee"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Employee"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["Employee"],"summary":"Update a record in the Employee table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Employee"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateEmployee","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/Employee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Employee"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Employee"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["Employee"],"summary":"Delete a record from the Employee table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteEmployee","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/Employee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Employee"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Employee"}},"500":{"description":"An internal error occurred"}}}},"/tables/HistoryPeople":{"get":{"tags":["History"],"summary":"Query the HistoryPeople table","description":"The provided OData query is evaluated and an array of HistoryPeople objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryHistoryPeople","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/HistoryPeople"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/HistoryPM":{"get":{"tags":["History"],"summary":"Query the HistoryPM table","description":"The provided OData query is evaluated and an array of HistoryPM objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryHistoryPM","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/HistoryPM"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/HistoryEmail":{"get":{"tags":["History"],"summary":"Query the HistoryEmail table","description":"The provided OData query is evaluated and an array of HistoryEmail objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryHistoryEmail","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/HistoryEmail"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/HistoryCompany":{"get":{"tags":["History"],"summary":"Query the HistoryCompany table","description":"The provided OData query is evaluated and an array of HistoryCompany objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryHistoryCompany","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/HistoryCompany"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/HistorySite":{"get":{"tags":["History"],"summary":"Query the HistorySite table","description":"The provided OData query is evaluated and an array of HistorySite objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryHistorySite","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/HistorySite"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/interim":{"get":{"tags":["Interim"],"summary":"Query the Interim table","description":"'The provided OData query is evaluated and an array of Interim objects is returned. If no OData query is specified, all items are returned.'\n\n# Details\nWhen using a mobile token, only marked as sync sites are used for getting interim employees.\n\nWhen using a web token, for getting interim employees of a company, use /api/company/{id}/interimEmployees. For getting employees of a site, use the /api/site/{id}/interimEmployees method.\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryInterim","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Interim"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Interim"],"summary":"Insert a record into the Interim table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Interim"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertInterim","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/Interim"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/Interim"}},"500":{"description":"An internal error occurred"}}}},"/tables/interim/{id}":{"get":{"tags":["Interim"],"summary":"Find a specific record in the Interim table","description":"Return the Interim object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindInterim","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Interim"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Interim"],"summary":"Undelete a record from the Interim table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteInterim","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/Interim"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Interim"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Interim"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["Interim"],"summary":"Update a record in the Interim table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Interim"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateInterim","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/Interim"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Interim"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Interim"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["Interim"],"summary":"Delete a record from the Interim table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteInterim","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/Interim"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Interim"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Interim"}},"500":{"description":"An internal error occurred"}}}},"/tables/log":{"get":{"tags":["Log"],"summary":"Query the Log table","description":"The provided OData query is evaluated and an array of Log objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryLog","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Log"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/partner":{"get":{"tags":["Partner"],"summary":"Query the Partner table","description":"The provided OData query is evaluated and an array of Partner objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryPartner","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Partner"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Partner"],"summary":"Insert a record into the Partner table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Partner"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertPartner","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/Partner"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/Partner"}},"500":{"description":"An internal error occurred"}}}},"/tables/partner/{id}":{"get":{"tags":["Partner"],"summary":"Find a specific record in the Partner table. This route is not avaibable for a superAdmin token","description":"Return the Partner object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindPartner","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Partner"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Partner"],"summary":"Undelete a record from the Partner table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeletePartner","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/Partner"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Partner"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Partner"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["Partner"],"summary":"Delete a record from the Partner table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeletePartner","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/Partner"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Partner"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Partner"}},"500":{"description":"An internal error occurred"}}}},"/tables/peopleMobile":{"get":{"tags":["Mobile"],"summary":"Query the PeopleMobile table.","description":"'The provided OData query is evaluated and an array of PeopleMobile objects is returned. If no OData query is specified, all items are returned.'\n\n# Details\nOnly available with a mobile token\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryPeopleMobile","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/PeopleMobile"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/peopleValidation":{"get":{"tags":["People"],"summary":"Query the PeopleValidation table.","description":"The provided OData query is evaluated and an array of PeopleValidation objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryPeopleValidation","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/PeopleValidation"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["People"],"summary":"Insert a record into the PeopleValidation table. Only available on mobile app","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/PeopleValidation"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertPeopleValidation","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/PeopleValidation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/PeopleValidation"}},"500":{"description":"An internal error occurred"}}}},"/tables/peopleValidation/{id}":{"get":{"tags":["People"],"summary":"Find a specific record in the PeopleValidation table","description":"Return the PeopleValidation object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindPeopleValidation","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/PeopleValidation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["People"],"summary":"Undelete a record from the PeopleValidation table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeletePeopleValidation","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/PeopleValidation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PeopleValidation"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PeopleValidation"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["People"],"summary":"Update a record in the PeopleValidation table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/PeopleValidation"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdatePeopleValidation","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/PeopleValidation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PeopleValidation"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PeopleValidation"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["People"],"summary":"Delete a record from the Site table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeletePeopleValidation","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/PeopleValidation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Site"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PeopleValidation"}},"500":{"description":"An internal error occurred"}}}},"/tables/site":{"get":{"tags":["Site"],"summary":"Query the Site table","description":"The provided OData query is evaluated and an array of Site objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySite","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Site"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Site"],"summary":"Insert a record into the Site table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Site"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSite","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/Site"}},"500":{"description":"An internal error occurred"}}}},"/tables/site/{id}":{"get":{"tags":["Site"],"summary":"Find a specific record in the Site table","description":"Return the Site object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSite","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Site"],"summary":"Undelete a record from the Site table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSite","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Site"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Site"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["Site"],"summary":"Update a record in the Site table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Site"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSite","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Site"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Site"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["Site"],"summary":"Delete a record from the Site table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSite","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/Site"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Site"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Site"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteAccreditation":{"get":{"tags":["SiteAccreditation"],"summary":"Query the SiteAccreditation table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteAccreditation objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteAccreditation","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteAccreditation"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteAccreditation"],"summary":"Insert a record into the SiteAccreditation table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteAccreditation"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteAccreditation","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteAccreditation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteAccreditation"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteAccreditation/{id}":{"get":{"tags":["SiteAccreditation"],"summary":"Find a specific record in the SiteAccreditation table","description":"Return the SiteAccreditation object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteAccreditation","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteAccreditation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteAccreditation"],"summary":"Undelete a record from the SiteAccreditation table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSiteAccreditation","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SiteAccreditation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditation"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditation"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteAccreditation"],"summary":"Update a record in the SiteAccreditation table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteAccreditation"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteAccreditation","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteAccreditation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditation"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditation"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteAccreditation"],"summary":"Delete a record from the SiteAccreditation table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSiteAccreditation","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteAccreditation"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditation"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditation"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteAccreditationSiteJob":{"get":{"tags":["SiteAccreditationSiteJob"],"summary":"Query the SiteAccreditationSiteJob table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteAccreditationSiteJob objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteAccreditationSiteJob","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteAccreditationSiteJob"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteAccreditationSiteJob"],"summary":"Insert a record into the SiteAccreditationSiteJob table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteAccreditationSiteJob","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteAccreditationSiteJob/{id}":{"get":{"tags":["SiteAccreditationSiteJob"],"summary":"Find a specific record in the SiteAccreditationSiteJob table","description":"Return the SiteAccreditationSiteJob object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteAccreditationSiteJob","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteAccreditationSiteJob"],"summary":"Undelete a record from the SiteAccreditationSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSiteAccreditationSiteJob","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteAccreditationSiteJob"],"summary":"Update a record in the SiteAccreditationSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteAccreditationSiteJob","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteAccreditationSiteJob"],"summary":"Delete a record from the SiteAccreditationSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSiteAccreditationSiteJob","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteAccreditationSiteJob"}},"500":{"description":"An internal error occurred"}}}},"/tables/sitePeopleSiteJob":{"get":{"tags":["SitePeopleSiteJob"],"summary":"Query the SitePeopleSiteJob table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SitePeopleSiteJob objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySitePeopleSiteJob","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SitePeopleSiteJob"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SitePeopleSiteJob"],"summary":"Insert a record into the SitePeopleSiteJob table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SitePeopleSiteJob"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSitePeopleSiteJob","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"500":{"description":"An internal error occurred"}}}},"/tables/sitePeopleSiteJob/{id}":{"get":{"tags":["SitePeopleSiteJob"],"summary":"Find a specific record in the SitePeopleSiteJob table","description":"Return the SitePeopleSiteJob object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSitePeopleSiteJob","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SitePeopleSiteJob"],"summary":"Undelete a record from the SitePeopleSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSitePeopleSiteJob","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SitePeopleSiteJob"],"summary":"Update a record in the SitePeopleSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SitePeopleSiteJob"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSitePeopleSiteJob","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SitePeopleSiteJob"],"summary":"Delete a record from the SitePeopleSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSitePeopleSiteJob","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SitePeopleSiteJob"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteContributor/{id}":{"get":{"tags":["SiteContributor"],"summary":"Find a specific record in the SiteContributor table","description":"Return the SiteContributor object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteContributor","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteContributor"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteContributor"],"summary":"Update a record in the SiteContributor table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteContributor"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteContributor","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteContributor"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteContributor"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteContributor"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteContributor":{"get":{"tags":["SiteContributor"],"summary":"Query the SiteContributor table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteContributor objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteContributor","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteContributor"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/siteControl":{"get":{"tags":["SiteControl"],"summary":"Query the SiteControl table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteControl objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteControl","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteControl"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteControl"],"summary":"Insert a record into the SiteControl table. Only available on mobile app","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteControl"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteControl","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteControl"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteControl"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteControl/{id}":{"get":{"tags":["SiteControl"],"summary":"Find a specific record in the SiteControl table","description":"Return the SiteControl object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteControl","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteControl"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteControl"],"summary":"Undelete a record from the SiteControl table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSiteControl","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SiteControl"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControl"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControl"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteControl"],"summary":"Update a record in the SiteControl table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteControl"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteControl","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteControl"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControl"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControl"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteControl"],"summary":"Delete a record from the SiteControl table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSiteControl","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteControl"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControl"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControl"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteControlEntry":{"get":{"tags":["SiteControlEntry"],"summary":"Query the SiteControlEntry table.","description":"The provided OData query is evaluated and an array of SiteControlEntry objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteControlEntry","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteControlEntry"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteControlEntry"],"summary":"Insert a record into the SiteControlEntry table. Only available on mobile app","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteControlEntry"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteControlEntry","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteControlEntry"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteControlEntry"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteControlEntry/{id}":{"post":{"tags":["SiteControlEntry"],"summary":"Undelete a record from the SiteControlEntry table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSiteControlEntry","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SiteControlEntry"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControlEntry"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControlEntry"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteControlEntry"],"summary":"Update a record in the SiteControlEntry table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteControlEntry"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteControlEntry","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteControlEntry"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControlEntry"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControlEntry"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteControlEntry"],"summary":"Delete a record from the SiteControlEntry table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSiteControlEntry","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteControlEntry"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControlEntry"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControlEntry"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteControllerCompany/{id}":{"get":{"tags":["SiteControllerCompany"],"summary":"Find a specific record in the SiteControllerCompany table","description":"Return the SiteControllerCompany object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteControllerCompany","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteControllerCompany"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteControllerCompany"],"summary":"Update a record in the SiteControllerCompany table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteControllerCompany"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteControllerCompany","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteControllerCompany"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControllerCompany"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControllerCompany"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteControllerCompany":{"get":{"tags":["SiteControllerCompany"],"summary":"Query the SiteControllerCompany table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteControllerCompany objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteControllerCompany","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteControllerCompany"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/siteControllerUser/{id}":{"get":{"tags":["SiteControllerUser"],"summary":"Find a specific record in the SiteControllerUser table.","description":"Return the Partner object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteControllerUser","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteControllerUser"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteControllerUser"],"summary":"Update a record in the SiteControllerUser table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteControllerUser"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteControllerUser","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteControllerUser"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControllerUser"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControllerUser"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteControllerUser"],"summary":"Delete a record from the SiteControllerUser table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteNoteDO","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteControllerUser"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControllerUser"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControllerUser"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteControllerUser":{"get":{"tags":["SiteControllerUser"],"summary":"Query the SiteControllerUser table","description":"The provided OData query is evaluated and an array of SiteControllerUser objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteControllerUser","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteControllerUser"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteControllerUser"],"summary":"Insert a record into the SiteControllerUser table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteControllerUser"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteControllerUser","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteControllerUser"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteControllerUser"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteControllerUser"],"summary":"Delete a record from the SiteControllerUser table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSiteControllerUser","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteControllerUser"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControllerUser"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteControllerUser"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteEmployee":{"get":{"tags":["SiteEmployee"],"summary":"Query the SiteEmployee table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteEmployee objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteEmployee"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/siteInterim":{"get":{"tags":["SiteInterim"],"summary":"Query the SiteInterim table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteInterim objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteInterim","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteInterim"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/siteMobile":{"get":{"tags":["Mobile"],"summary":"Query the SiteMobile table.","description":"'The provided OData query is evaluated and an array of PeopleMobile objects is returned. If no OData query is specified, all items are returned.'\n\n# Details\nOnly available with a mobile token\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryPeopleMobile","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/PeopleMobile"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/siteJob":{"get":{"tags":["SiteJob"],"summary":"Query the SiteJob table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteJob objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteJob","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteJob"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteJob"],"summary":"Insert a record into the SiteJob table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteJob"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteJob","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteJob"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteJob/{id}":{"get":{"tags":["SiteJob"],"summary":"Find a specific record in the SiteJob table","description":"Return the SiteJob object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteJob","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteJob"],"summary":"Undelete a record from the SiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSiteJob","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteJob"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteJob"],"summary":"Update a record in the SiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteJob"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteJob","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteJob"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteJob"],"summary":"Delete a record from the SiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSiteJob","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteJob"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteQualification":{"get":{"tags":["SiteQualification"],"summary":"Query the SiteQualification table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteQualification objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteQualification","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteQualification"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteQualification"],"summary":"Insert a record into the SiteQualification table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteQualification"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteQualification","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteQualification"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteQualification"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteQualification/{id}":{"get":{"tags":["SiteQualification"],"summary":"Find a specific record in the SiteQualification table","description":"Return the SiteQualification object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteQualification","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteQualification"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteQualification"],"summary":"Undelete a record from the SiteQualification table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSiteQualification","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SiteQualification"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualification"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualification"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteQualification"],"summary":"Update a record in the SiteQualification table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteQualification"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteQualification","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteQualification"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualification"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualification"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteQualification"],"summary":"Delete a record from the SiteQualification table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSiteQualification","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteQualification"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualification"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualification"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteQualificationSiteJob":{"get":{"tags":["SiteQualificationSiteJob"],"summary":"Query the SiteQualificationSiteJob table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteQualificationSiteJob objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteQualificationSiteJob","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteQualificationSiteJob"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteQualificationSiteJob"],"summary":"Insert a record into the SiteQualificationSiteJob table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteQualificationSiteJob"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteQualificationSiteJob","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteQualificationSiteJob/{id}":{"get":{"tags":["SiteQualificationSiteJob"],"summary":"Find a specific record in the SiteQualificationSiteJob table","description":"Return the SiteQualificationSiteJob object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteQualificationSiteJob","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteQualificationSiteJob"],"summary":"Undelete a record from the SiteQualificationSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSiteQualificationSiteJob","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteQualificationSiteJob"],"summary":"Update a record in the SiteQualificationSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteQualificationSiteJob"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteQualificationSiteJob","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SiteQualificationSiteJob"],"summary":"Delete a record from the SiteQualificationSiteJob table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSiteQualificationSiteJob","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteQualificationSiteJob"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteSubleaseEmployee":{"get":{"tags":["SiteSubleaseEmployee"],"summary":"Query the SiteSubleaseEmployee table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteSubleaseEmployee objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteSubleaseEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteSubleaseEmployee"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/subleaseEmployee":{"get":{"tags":["SubleaseEmployee"],"summary":"Query the SubleaseEmployee table. Only available for the mobile app","description":"'The provided OData query is evaluated and an array of SubleaseEmployee objects is returned. If no OData query is specified, all items are returned.'\n\n# Details\nWhen using a mobile token, only marked as sync sites are used for getting sublease employees.\n\nWhen using a web token, for getting sublease employees of a company, use /api/company/{id}/subleaseEmployees. For getting employees of a site, use the /api/site/{id}/subleaseEmployees method.\n","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySubleaseEmployee","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SubleaseEmployee"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SubleaseEmployee"],"summary":"Insert a record into the SubleaseEmployee table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SubleaseEmployee"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSubleaseEmployee","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"500":{"description":"An internal error occurred"}}}},"/tables/subleaseEmployee/{id}":{"get":{"tags":["SubleaseEmployee"],"summary":"Find a specific record in the SubleaseEmployee table","description":"Return the SubleaseEmployee object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSubleaseEmployee","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SubleaseEmployee"],"summary":"Undelete a record from the SubleaseEmployee table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteSubleaseEmployee","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SubleaseEmployee"],"summary":"Update a record in the SubleaseEmployee table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SubleaseEmployee"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSubleaseEmployee","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["SubleaseEmployee"],"summary":"Delete a record from the SubleaseEmployee table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteSubleaseEmployee","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SubleaseEmployee"}},"500":{"description":"An internal error occurred"}}}},"/tables/user":{"get":{"tags":["User"],"summary":"Query the User table","description":"The provided OData query is evaluated and an array of User objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryUser","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/User"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["User"],"summary":"Insert a record into the User table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/User"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertUser","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/User"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/User"}},"500":{"description":"An internal error occurred"}}}},"/tables/user/{id}":{"get":{"tags":["User"],"summary":"Find a specific record in the User table","description":"Return the User object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindUser","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/User"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["User"],"summary":"Undelete a record from the User table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteUser","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/User"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/User"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/User"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["User"],"summary":"Update a record in the User table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/User"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateUser","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/User"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/User"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/User"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["User"],"summary":"Delete a record from the User table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteUser","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/User"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/User"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/User"}},"500":{"description":"An internal error occurred"}}}},"/tables/userCompany":{"get":{"tags":["UserCompany"],"summary":"Query the UserCompany table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of UserCompany objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryUserCompany","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/UserCompany"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["UserCompany"],"summary":"Insert a record into the UserCompany table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/UserCompany"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertUserCompany","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/UserCompany"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/UserCompany"}},"500":{"description":"An internal error occurred"}}}},"/tables/userCompany/{id}":{"get":{"tags":["UserCompany"],"summary":"Find a specific record in the UserCompany table","description":"Return the UserCompany object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindUserCompany","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/UserCompany"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["UserCompany"],"summary":"Undelete a record from the UserCompany table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteUserCompany","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/UserCompany"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/UserCompany"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/UserCompany"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["UserCompany"],"summary":"Update a record in the UserCompany table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/UserCompany"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateUserCompany","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/UserCompany"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/UserCompany"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/UserCompany"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["UserCompany"],"summary":"Delete a record from the UserCompany table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteUserCompany","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/UserCompany"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/UserCompany"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/UserCompany"}},"500":{"description":"An internal error occurred"}}}},"/tables/cgu":{"get":{"tags":["Cgu"],"summary":"Find a specific record in the Cgu table","description":"Return the Cgu object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindCgu","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["Cgu"],"summary":"Undelete a record from the Cgu table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteCgu","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["Cgu"],"summary":"Update a record in the Cgu table - Only available for mobile","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/Document"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateCgu","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["Cgu"],"summary":"Delete a record from the Cgu table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteCgu","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/Document"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Document"}},"500":{"description":"An internal error occurred"}}}},"/tables/adminRefusalReason":{"get":{"tags":["AdminRefusalReason"],"summary":"Query the AdminRefusalReason table","description":"The provided OData query is evaluated and an array of AdminRefusalReason objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryAdminRefusalReason","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/AdminRefusalReason"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["AdminRefusalReason"],"summary":"Insert a record into the AdminRefusalReason table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/AdminRefusalReason"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertAdminRefusalReason","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"500":{"description":"An internal error occurred"}}}},"/tables/adminRefusalReason/{id}":{"get":{"tags":["AdminRefusalReason"],"summary":"Find a specific record in the AdminRefusalReason table","description":"Return the AdminRefusalReason object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindAdminRefusalReason","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["AdminRefusalReason"],"summary":"Undelete a record from the AdminRefusalReason table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteAdminRefusalReason","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["AdminRefusalReason"],"summary":"Update a record in the AdminRefusalReason table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/AdminRefusalReason"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateAdminRefusalReason","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["AdminRefusalReason"],"summary":"Delete a record from the AdminRefusalReason table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteAdminRefusalReason","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/AdminRefusalReason"}},"500":{"description":"An internal error occurred"}}}},"/api/people/{id}/{partnerId}/{partnerName}/transfer":{"get":{"tags":["People"],"summary":"change companyId of the person","description":"change companyId of the person","operationId":"transfer","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"partnerId","description":"The partner Id","required":true,"type":"string","in":"path"},{"name":"partnerName","description":"The partner name","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/People"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/commentSA/{id}":{"get":{"tags":["CommentSA"],"summary":"Find a specific record in the CommentSA table.","description":"Return the Partner object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindCommentSA","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/CommentSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["CommentSA"],"summary":"Update a record in the CommentSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/CommentSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateCommentSA","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/CommentSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CommentSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CommentSA"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["CommentSA"],"summary":"Delete a record from the CommentSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteNoteDO","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/CommentSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CommentSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CommentSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/commentSA":{"get":{"tags":["CommentSA"],"summary":"Query the CommentSA table","description":"The provided OData query is evaluated and an array of CommentSA objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryCommentSA","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/CommentSA"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["CommentSA"],"summary":"Insert a record into the CommentSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/CommentSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertCommentSA","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/CommentSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/CommentSA"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["CommentSA"],"summary":"Delete a record from the CommentSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteCommentSA","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/CommentSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CommentSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CommentSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/FactuSA":{"get":{"tags":["FactuSA"],"summary":"Query the FactuSA table","description":"The provided OData query is evaluated and an array of FactuSA objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryFactuSA","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/FactuSA"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["FactuSA"],"summary":"Insert a record into the FactuSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/FactuSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertFactuSA","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/FactuSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/FactuSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/FactuSA/{id}":{"get":{"tags":["FactuSA"],"summary":"Find a specific record in the FactuSA table.","description":"Return the billing object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindFactuSA","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/FactuSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["FactuSA"],"summary":"Update a record in the FactuSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/FactuSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateFactuSA","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/FactuSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/FactuSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/FactuSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/ControlSA":{"get":{"tags":["ControlSA"],"summary":"Query the ControlSA table","description":"The provided OData query is evaluated and an array of ControlSA objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryControlSA","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/ControlSA"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["ControlSA"],"summary":"Insert a record into the ControlSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/ControlSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertControlSA","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/ControlSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/ControlSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/controlSA/{id}":{"get":{"tags":["ControlSA"],"summary":"Find a specific record in the ControlSA table.","description":"Return the control object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindControlSA","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/ControlSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["ControlSA"],"summary":"Update a record in the ControlSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/ControlSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateControlSA","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/ControlSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ControlSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ControlSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/SupportSA":{"get":{"tags":["SupportSA"],"summary":"Query the SupportSA table","description":"The provided OData query is evaluated and an array of SupportSA objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySupportSA","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SupportSA"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SupportSA"],"summary":"Insert a record into the SupportSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SupportSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSupportSA","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SupportSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SupportSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/supportSA/{id}":{"get":{"tags":["SupportSA"],"summary":"Find a specific record in the SupportSA table.","description":"Return the support object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSupportSA","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SupportSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SupportSA"],"summary":"Update a record in the SupportSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SupportSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSupportSA","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SupportSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SupportSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SupportSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/optionSiteSA":{"get":{"tags":["OptionSiteSA"],"summary":"Query the OptionSiteSA table","description":"The provided OData query is evaluated and an array of OptionSiteSA objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryOptionSiteSA","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/OptionSiteSA"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["OptionSiteSA"],"summary":"Insert a record into the OptionSiteSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/OptionSiteSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSOptionSiteSA","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/OptionSiteSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SupportSA"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["OptionSiteSA"],"summary":"Delete a record from the OptionSiteSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteOptionSiteSA","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/OptionSiteSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/OptionSiteSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/OptionSiteSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/optionSiteSA/{id}":{"get":{"tags":["OptionSiteSA"],"summary":"Find a specific record in the OptionSiteSA table. This route is avaibable for a superAdmin token","description":"Return the OptionSiteSA object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindLot","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/OptionSiteSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["OptionSiteSA"],"summary":"Update a record in the OptionSiteSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/OptionSiteSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSOptionSiteSA","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/OptionSiteSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/OptionSiteSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/OptionSiteSA"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["OptionSiteSA"],"summary":"Delete a record from the OptionSiteSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteOptionSiteSA","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/OptionSiteSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/OptionSiteSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/OptionSiteSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/patchNote/{id}":{"get":{"tags":["PatchNote"],"summary":"Find a specific record in the PatchNote table","description":"Return the PatchNote object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindPatchNote","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/PatchNote"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["PatchNote"],"summary":"Undelete a record from the PatchNote table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeletePatchNote","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/PatchNote"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PatchNote"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PatchNote"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["PatchNote"],"summary":"Update a record in the PatchNote table - Only available for mobile","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/PatchNote"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdatePatchNote","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/PatchNote"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PatchNote"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PatchNote"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["PatchNote"],"summary":"Delete a record from the PatchNote table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeletePatchNote","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/PatchNote"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PatchNote"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PatchNote"}},"500":{"description":"An internal error occurred"}}}},"/tables/patchNote":{"get":{"tags":["PatchNote"],"summary":"Query the PatchNote table","description":"The provided OData query is evaluated and an array of PatchNote objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryPatchNote","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/PatchNote"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["PatchNote"],"summary":"Insert a record into the PatchNote table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/PatchNote"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertPatchNote","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/PatchNote"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/PatchNote"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["PatchNote"],"summary":"Delete a record from the PatchNote table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeletePatchNote","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/PatchNote"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PatchNote"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/PatchNote"}},"500":{"description":"An internal error occurred"}}}},"/tables/CompanySupportSA":{"get":{"tags":["CompanySupportSA"],"summary":"Query the CompanySupportSA table","description":"The provided OData query is evaluated and an array of CompanySupportSA objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryCompanySupportSA","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/CompanySupportSA"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["CompanySupportSA"],"summary":"Insert a record into the CompanySupportSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/CompanySupportSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertCompanySupportSA","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/CompanySupportSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/CompanySupportSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/companySupportSA/{id}":{"get":{"tags":["CompanySupportSA"],"summary":"Find a specific record in the CompanySupportSA table.","description":"Return the support object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindCompanySupportSA","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/CompanySupportSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["CompanySupportSA"],"summary":"Update a record in the CompanySupportSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/CompanySupportSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateCompanySupportSA","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/CompanySupportSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CompanySupportSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CompanySupportSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/CompanyFactuSA":{"get":{"tags":["CompanyFactuSA"],"summary":"Query the CompanyFactuSA table","description":"The provided OData query is evaluated and an array of CompanyFactuSA objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryCompanyFactuSA","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/CompanyFactuSA"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["CompanyFactuSA"],"summary":"Insert a record into the CompanyFactuSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/CompanyFactuSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertCompanyFactuSA","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/CompanyFactuSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/CompanyFactuSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/companyFactuSA/{id}":{"get":{"tags":["CompanyFactuSA"],"summary":"Find a specific record in the CompanyFactuSA table.","description":"Return the billing object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindCompanyFactuSA","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/CompanyFactuSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["CompanyFactuSA"],"summary":"Update a record in the CompanyFactuSA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/CompanyFactuSA"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateCompanyFactuSA","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/CompanyFactuSA"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CompanyFactuSA"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/CompanyFactuSA"}},"500":{"description":"An internal error occurred"}}}},"/tables/sitePanel/{id}":{"get":{"tags":["SitePanel"],"summary":"Find a specific record in the SitePanel table. This route is not avaibable for a superAdmin token","description":"Return the Partner object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSitePanel","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SitePanel"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SitePanel"],"summary":"Update a record in the SitePanel table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SitePanel"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSitePanel","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SitePanel"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SitePanel"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SitePanel"}},"500":{"description":"An internal error occurred"}}}},"/tables/sitePanel":{"get":{"tags":["SitePanel"],"summary":"Query the SitePanel table","description":"The provided OData query is evaluated and an array of SitePanel objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySitePanel","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SitePanel"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SitePanel"],"summary":"Insert a record into the SitePanel table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SitePanel"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSitePanel","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SitePanel"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SitePanel"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteContractor/{id}":{"get":{"tags":["SiteContractor"],"summary":"Find a specific record in the SiteContractor table. This route is not avaibable for a superAdmin token","description":"Return the SiteContractor object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteContractor","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteContractor"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/siteContractor":{"get":{"tags":["SiteContractor"],"summary":"Query the SiteContractor table","description":"The provided OData query is evaluated and an array of SiteContractor objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteContractor","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteContractor"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/lot/{id}":{"get":{"tags":["Lot"],"summary":"Find a specific record in the Lot table. This route is not avaibable for a superAdmin token","description":"Return the Lot object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindLot","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/Lot"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/lot":{"get":{"tags":["Lot"],"summary":"Query the Lot table","description":"The provided OData query is evaluated and an array of Lot objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryLot","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/Lot"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}}},"/tables/siteRelaunchEntrySA/{id}":{"get":{"tags":["SiteRelaunchEntrySA"],"summary":"Find a specific record in the SiteRelaunchEntrySA table.","description":"Return the support object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindSiteRelaunchEntrySA","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/SiteRelaunchEntry"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["SiteRelaunchEntrySA"],"summary":"Update a record in the SiteRelaunchEntrySA table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteRelaunchEntry"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateSiteRelaunchEntrySA","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/SiteRelaunchEntry"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteRelaunchEntry"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/SiteRelaunchEntry"}},"500":{"description":"An internal error occurred"}}}},"/tables/siteRelaunchEntrySA":{"get":{"tags":["SiteRelaunchEntrySA"],"summary":"Query the SiteQualification table. Only available for the mobile app","description":"The provided OData query is evaluated and an array of SiteQualification objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QuerySiteRelaunchEntrySA","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/SiteRelaunchEntry"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["SiteRelaunchEntrySA"],"summary":"Insert a record into the SiteQualification table. Only availble for companies' admin.","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/SiteRelaunchEntry"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertSiteRelaunchEntrySA","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/SiteRelaunchEntry"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/SiteRelaunchEntry"}},"500":{"description":"An internal error occurred"}}}},"/tables/documentSite":{"get":{"tags":["DocumentSite"],"summary":"Query the DocumentSite table","description":"The provided OData query is evaluated and an array of DocumentSite objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryDocumentSite","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/DocumentSite"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["DocumentSite"],"summary":"Insert a record into the DocumentSite table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/DocumentSite"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertDocumentSite","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/DocumentSite"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/DocumentSite"}},"500":{"description":"An internal error occurred"}}}},"/tables/documentSite/{id}":{"get":{"tags":["DocumentSite"],"summary":"Find a specific record in the DocumentSite table. This route is not avaibable for a superAdmin token","description":"Return the Partner object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindDocumentCompany","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/DocumentSite"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["DocumentSite"],"summary":"Undelete a record from the DocumentSite table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteDocumentSite","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/DocumentSite"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Partner"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/Partner"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["DocumentSite"],"summary":"Delete a record from the DocumentSite table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteDocumentSite","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/DocumentSite"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/DocumentSite"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/DocumentSite"}},"500":{"description":"An internal error occurred"}}}},"/tables/riskAnalysis":{"get":{"tags":["RiskAnalysis"],"summary":"Query the RiskAnalysis table","description":"The provided OData query is evaluated and an array of RiskAnalysis objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryRiskAnalysis","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/RiskAnalysis"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["RiskAnalysis"],"summary":"Insert a record into the RiskAnalysis table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/RiskAnalysis"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertRiskAnalysis","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/RiskAnalysis"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/RiskAnalysis"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["RiskAnalysis"],"summary":"Delete a record from the RiskAnalysis table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteRiskAnalysis","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/RiskAnalysis"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/RiskAnalysis"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/RiskAnalysis"}},"500":{"description":"An internal error occurred"}}}},"/tables/riskAnalysis/{id}":{"get":{"tags":["RiskAnalysis"],"summary":"Find a specific record in the RiskAnalysis table.","description":"Return the RiskAnalysis object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindRiskAnalysis","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/RiskAnalysis"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["RiskAnalysis"],"summary":"Update a record in the RiskAnalysis table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/RiskAnalysis"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateRiskAnalysis","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/RiskAnalysis"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/RiskAnalysis"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/RiskAnalysis"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["RiskAnalysis"],"summary":"Delete a record from the RiskAnalysis table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteRiskAnalysis","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/RiskAnalysis"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/RiskAnalysis"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/RiskAnalysis"}},"500":{"description":"An internal error occurred"}}}},"/tables/ToDo/{id}":{"get":{"tags":["ToDo"],"summary":"Find a specific record in the ToDo table","description":"Return the ToDo object that corresponds with the provided id.","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"FindToDo","responses":{"200":{"description":"The request item","schema":{"$ref":"#/definitions/ToDo"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["ToDo"],"summary":"Undelete a record from the ToDo table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UndeleteToDo","responses":{"201":{"description":"The undeleted item","schema":{"$ref":"#/definitions/ToDo"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ToDo"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ToDo"}},"500":{"description":"An internal error occurred"}}},"patch":{"tags":["ToDo"],"summary":"Update a record in the ToDo table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/ToDo"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"UpdateToDo","responses":{"200":{"description":"The updated item","schema":{"$ref":"#/definitions/ToDo"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ToDo"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ToDo"}},"500":{"description":"An internal error occurred"}}},"delete":{"tags":["ToDo"],"summary":"Delete a record from the ToDo table","security":[{"AuthHeader":[]}],"parameters":[{"name":"id","description":"The record identifier","required":true,"type":"string","in":"path"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"DeleteToDo","responses":{"200":{"description":"The deleted item","schema":{"$ref":"#/definitions/ToDo"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ToDo"}},"412":{"description":"A concurrency violation occurred","schema":{"$ref":"#/definitions/ToDo"}},"500":{"description":"An internal error occurred"}}}},"/tables/ToDo":{"get":{"tags":["ToDo"],"summary":"Query the ToDo table","description":"The provided OData query is evaluated and an array of ToDo objects is returned. If no OData query is specified, all items are returned.","security":[{"AuthHeader":[]}],"parameters":[{"name":"$filter","description":"OData filter clause","required":false,"type":"string","in":"query"},{"name":"$orderby","description":"OData order by clause","required":false,"type":"string","in":"query"},{"name":"$skip","description":"OData skip clause","required":false,"type":"integer","in":"query"},{"name":"$top","description":"OData top clause","required":false,"type":"integer","in":"query"},{"name":"$select","description":"OData select clause","required":false,"type":"string","in":"query"},{"name":"$inlinecount","description":"OData inline count clause","required":false,"type":"string","in":"query"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"QueryToDo","responses":{"200":{"description":"An array of items matching the provided query","schema":{"type":"array","items":{"$ref":"#/definitions/ToDo"}}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"500":{"description":"An internal error occurred"}}},"post":{"tags":["ToDo"],"summary":"Insert a record into the ToDo table","security":[{"AuthHeader":[]}],"parameters":[{"name":"body","description":"The item","required":true,"schema":{"$ref":"#/definitions/ToDo"},"in":"body"},{"name":"zumo-api-version","description":"The Azure Mobile Apps API version","required":true,"type":"string","in":"header","default":"2.0.0"}],"operationId":"InsertToDo","responses":{"201":{"description":"The inserted item","schema":{"$ref":"#/definitions/ToDo"}},"400":{"description":"The format of the request was incorrect"},"404":{"description":"The table or item could not be found"},"405":{"description":"The operation has been disabled"},"409":{"description":"An item with the same ID already exists","schema":{"$ref":"#/definitions/ToDo"}},"500":{"description":"An internal error occurred"}}}},"/startCron":{"get":{"description":"Internal use","tags":["Internal"],"operationId":"startcron","responses":{"200":{"description":"OK"}}}}},"responses":{"UnauthorizedError":{"description":"Authorization Token missing","headers":{"WWW_Authenticate":{"type":"string"}}},"NotFound":{"description":"The item has not been found"}}},"customOptions":{}}