{"swagger":"2.0","info":{"description":"","version":"3","title":"ABB Infoservice"},"host":"abb.sluzba.cz","basePath":"/api/v3","tags":[{"name":"event","description":"Everything about events"},{"name":"case-management","description":"Cases Register - case details"},{"name":"devices","description":"Device Detail - Robots"},{"name":"accessories","description":"Accessory Detail and Inquiries"},{"name":"files","description":"Download files - common approach across whole app"},{"name":"chat","description":"Chat"},{"name":"settings-contacts","description":"Information either about the contacts and impressum"},{"name":"login","description":"Information received upon a successful login"},{"name":"notifications","description":"Notifications and their settings"},{"name":"other","description":"other data in the application (customers, robots/products)"}],"schemes":["https","http"],"paths":{"/oauth2/token":{"post":{"tags":["login"],"summary":"Login into the app","description":"Login into the app","operationId":"login","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"body","in":"body","description":"Login details submitted during a login.","schema":{"$ref":"#/definitions/LoginRequest"}}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/LoginResponse"}}}}},"/customer/files/download":{"get":{"tags":["files"],"summary":"Download files - Customer","description":"Download files - Customer","operationId":"downloadFiles","consumes":["application/json"],"produces":["application/*"],"parameters":[{"name":"fileKey","in":"query","description":"UUID value included in the response data when requesting files of a certain section","required":true,"type":"string","format":"UUID"},{"name":"filename","in":"query","description":"String describing the filename.","required":false,"type":"string"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":false,"type":"integer"}],"responses":{"200":{"description":"Successful","headers":{"Content-Type":{"type":"string","description":"MIME type of the file"},"Content-Length":{"type":"integer","description":"The size of the response, i.e. attachment"},"Content-Disposition":{"type":"string","description":"Defined as 'attachment'"}},"schema":{"type":"file"}}}}},"/internal/files/download":{"get":{"tags":["files"],"summary":"Download files - Admin","description":"Download files - Admin","operationId":"downloadFilesAdmin","consumes":["application/json"],"produces":["application/*"],"parameters":[{"name":"fileKey","in":"query","description":"UUID value included in the response data when requesting files of a certain section","required":true,"type":"string","format":"UUID"},{"name":"filename","in":"query","description":"String describing the filename.","required":false,"type":"string"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful","headers":{"Content-Type":{"type":"string","description":"MIME type of the file"},"Content-Length":{"type":"integer","description":"The size of the response, i.e. attachment"},"Content-Disposition":{"type":"string","description":"Defined as 'attachment'"}},"schema":{"type":"file"}}}}},"/customer/events":{"get":{"tags":["event"],"summary":"Get list of events - customer","description":"Get list of events - customer","operationId":"getEventList","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"baseStatuses","in":"query","description":"Based on the event status, events are then identified either as ‘active’ or ‘closed’. Differentiate based on a selected tab. <br> - ‘active’ has the following baseStatuses: New, ServiceRequested <br> - ‘closed’ has the following baseStatuses: Expired,Closed,HotlineConfirmed,HotlineCanceled","required":true,"type":"array","items":{"type":"string","enum":["New","Expired","ServiceRequested","Closed","HotlineConfirmed","HotlineCanceled"]},"collectionFormat":"csv"},{"name":"sortColumn","in":"query","description":"Used in order to get the objects sorted by either a creation of an event in the given state or modification date. <br> Set to ‘modifiedAt’ = Creation of an event in a given baseStatus. Used for filter ‘Creation Date’. <br> Set to ‘lastChangeAt’ = Last change of an event. Used for filter ‘Last change’.","required":true,"type":"string","enum":["modifiedAt","lastChangeAt"]},{"name":"sortOrder","in":"query","description":"Used in order to get the correct order sort.","required":true,"type":"string","enum":["asc","desc"]},{"name":"limit","in":"query","description":"Optional. The number of items to return. ","required":false,"type":"integer"},{"name":"start","in":"query","description":"Used to request a subsequent set of data when scrolling through. ","required":false,"type":"integer"},{"name":"query","in":"query","description":"A search phrase. Used only for fulltext search. ","required":false,"type":"string"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/Event"},"example":[{"id":1,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"number":"FS22XXXX","name":"Phase failure","description":"Hello, we have noticed a phase failure on the robot. We recommend …","relatedEventId":74131,"serviceRequestId":65203,"creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"createdAt":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","baseStatus":"New","expiresAt":"Wed Mar 30 2022 04:25:57 GMT+0200 (Central European Summer Time)","modifiedBy":9348,"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":78657,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"modifiedAt":"Sun Jan 23 2022 15:33:32 GMT+0100 (Central European Standard Time)","product":{"id":5,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1451,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},"closedByUser":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":40357,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"closedAt":"Sat Mar 05 2022 12:30:27 GMT+0100 (Central European Standard Time)","closedReason":"NotNeeded","closedReasonNote":"Customer has resolved the issue.","customerId":5416,"branchId":1258,"files":[{"filename":"report.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":12578,"createdAt":"Sat May 14 2022 11:07:30 GMT+0200 (Central European Summer Time)"}],"thumbnails":[{"fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","dataURI":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}]},{"id":2,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"number":"FS22XXXX","name":"Phase failure","description":"Hello, we have noticed a phase failure on the robot. We recommend …","relatedEventId":74131,"serviceRequestId":65203,"creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"createdAt":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","baseStatus":"Expired","expiresAt":"Wed Mar 30 2022 04:25:57 GMT+0200 (Central European Summer Time)","modifiedBy":9348,"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":78657,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"modifiedAt":"Sun Jan 23 2022 15:33:32 GMT+0100 (Central European Standard Time)","product":{"id":5,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1451,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},"closedByUser":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":40357,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"closedAt":"Sat Mar 05 2022 12:30:27 GMT+0100 (Central European Standard Time)","closedReason":"NotNeeded","closedReasonNote":"Customer has resolved the issue.","customerId":5416,"branchId":59,"files":[{"filename":"report.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":12578,"createdAt":"Sat May 14 2022 11:07:30 GMT+0200 (Central European Summer Time)"}],"thumbnails":[{"fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","dataURI":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}]},{"id":3,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"number":"FS22XXXX","name":"Phase failure","description":"Hello, we have noticed a phase failure on the robot. We recommend …","relatedEventId":74131,"serviceRequestId":65203,"creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"createdAt":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","baseStatus":"ServiceRequested","expiresAt":"Wed Mar 30 2022 04:25:57 GMT+0200 (Central European Summer Time)","modifiedBy":9348,"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":78657,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"modifiedAt":"Sun Jan 23 2022 15:33:32 GMT+0100 (Central European Standard Time)","product":{"id":5,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1451,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},"closedByUser":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":40357,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"closedAt":"Sat Mar 05 2022 12:30:27 GMT+0100 (Central European Standard Time)","closedReason":"NotNeeded","closedReasonNote":"Customer has resolved the issue.","customerId":5416,"files":[{"filename":"report.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":12578,"createdAt":"Sat May 14 2022 11:07:30 GMT+0200 (Central European Summer Time)"}],"thumbnails":[{"fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","dataURI":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}]},{"id":4,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"number":"FS22XXXX","name":"Phase failure","description":"Hello, we have noticed a phase failure on the robot. We recommend …","relatedEventId":74131,"serviceRequestId":65203,"creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"createdAt":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","baseStatus":"Closed","expiresAt":"Wed Mar 30 2022 04:25:57 GMT+0200 (Central European Summer Time)","modifiedBy":9348,"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":78657,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"modifiedAt":"Sun Jan 23 2022 15:33:32 GMT+0100 (Central European Standard Time)","product":{"id":5,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1451,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},"closedByUser":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":40357,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"closedAt":"Sat Mar 05 2022 12:30:27 GMT+0100 (Central European Standard Time)","closedReason":"NotNeeded","closedReasonNote":"Customer has resolved the issue.","customerId":5416,"files":[{"filename":"report.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":12578,"createdAt":"Sat May 14 2022 11:07:30 GMT+0200 (Central European Summer Time)"}],"thumbnails":[{"fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","dataURI":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}]}]}},"405":{"description":"Invalid input"}}}},"/customer/events/{eventId}":{"get":{"tags":["event"],"summary":"Get general information on a specific event - customer","description":"Get general information on a specific event - customer","operationId":"getEventGeneralInfo","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/Event"}},"405":{"description":"Invalid input"}}},"patch":{"tags":["event"],"summary":"Event management by customer","description":"Event management by customer - change status and include additional info where necessary","operationId":"patchEventStatus","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/EventPatch"}}],"responses":{"200":{"description":"Successful"}}}},"/customer/events/{eventId}/read":{"post":{"tags":["event"],"summary":"Post read status of the specific event - customer","description":"Post read status of the specific event - customer","operationId":"postEventIsRead","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/customer/events/categories":{"get":{"tags":["event"],"summary":"Get information on categories available for events - customer","description":"Get information on categories available for events - customer","operationId":"getEventCategories","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/EventCategory"},"example":[{"id":1,"name":"Novinky","sysName":"News","color":"d1f2cf","textColor":"1b4718","color2":"d1f2cf","textColor2":"1b4718","isRepeatable":false,"isCreatable":true,"customerRelated":false,"productRelated":false,"hotlineRelated":false,"isExpirable":true,"isClosable":false,"isReparable":false,"isChatable":false},{"id":2,"name":"Informace","sysName":"Information","color":"cceeff","textColor":4480,"color2":"cceeff","textColor2":4480,"isRepeatable":false,"isCreatable":true,"customerRelated":true,"productRelated":false,"hotlineRelated":false,"isExpirable":false,"isClosable":false,"isReparable":false,"isChatable":false},{"id":3,"name":"Hotline","sysName":"Hotline","color":"dcccff","textColor":200066,"color2":"dcccff","textColor2":200066,"isRepeatable":false,"isCreatable":false,"customerRelated":null,"productRelated":true,"hotlineRelated":true,"isExpirable":true,"isClosable":false,"isReparable":false,"isChatable":false},{"id":4,"name":"Connected Services","sysName":"ConnectedServices","color":"ffdbde","textColor":"a30005","color2":"ffdbde","textColor2":"a30005","isRepeatable":true,"isCreatable":true,"customerRelated":null,"productRelated":true,"hotlineRelated":false,"isExpirable":false,"isClosable":true,"isReparable":true,"isChatable":true}]}},"405":{"description":"Invalid input"}}}},"/internal/events":{"get":{"tags":["event"],"summary":"Get list of events - admin","description":"Get list of events - admin","operationId":"getEventListAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"baseStatuses","in":"query","description":"Based on the event status, events are then identified either as ‘active’, ‘closed’ or 'draft'. Differentiate based on a selected tab. <br> - ‘active’ has the following baseStatuses: New, ServiceRequested <br> - ‘closed’ has the following baseStatuses: Expired,Closed,HotlineConfirmed,HotlineCanceled - 'draft' has the baseStatuses=Draft","required":true,"type":"array","items":{"type":"string","enum":["New","Expired","ServiceRequested","Closed","HotlineConfirmed","HotlineCanceled","Draft"],"collectionFormat":"csv"}},{"name":"sortColumn","in":"query","description":"Used in order to get the objects sorted by either a creation of an event in the given state or modification date. <br> Set to ‘modifiedAt’ = Creation of an event in a given baseStatus. Used for filter ‘Creation Date’. <br> Set to ‘lastChangeAt’ = Last change of an event. Used for filter ‘Last change’.","required":true,"type":"string","enum":["modifiedAt","lastChangeAt"]},{"name":"sortOrder","in":"query","description":"Used in order to get the correct order sort.","required":true,"type":"string","enum":["asc","desc"]},{"name":"limit","in":"query","description":"Optional. The number of items to return. ","required":false,"type":"integer"},{"name":"start","in":"query","description":"Used to request a subsequent set of data when scrolling through. ","required":false,"type":"integer"},{"name":"query","in":"query","description":"A search phrase. Used only for fulltext search. ","required":false,"type":"string"},{"name":"categories","in":"query","description":"Used to filter according to a selected ID of the category (list of categories retrieved from a separate endpoint). In case of multiple categories, added as a comma separated list list (e.g. categories=1,2)","type":"array","items":{"type":"integer","collectionFormat":"csv"},"required":false},{"name":"creators","in":"query","description":"Used to filter according to an ID of the admin users - read from /internal/events/internal-users endpoint. In case of multiple creators, added as a comma separated list list (e.g. creators=1,2)","type":"array","items":{"type":"integer","collectionFormat":"csv"}},{"name":"customers","in":"query","description":"Used to filter according to a selected ID of the customer (list of customers retrieved from a separate endpoint). In case of multiple customers, added as a comma separated list (e.g. customers=5416,98,2147)","type":"array","items":{"type":"integer","collectionFormat":"csv"},"required":false},{"name":"hasServiceRequest","in":"query","description":"Boolean. Used in case of filtering by an information whether a service request is included in the event.","type":"boolean","required":false},{"name":"eventServiceRequestBaseStatuses","in":"query","description":"Enumeration of the base status for a service request related to the event. Comma separated list - HandedOverForService, SolvedByDigitalService, CustomerRepair, Canceled","type":"array","items":{"enum":["HandedOverForService","SolvedByDigitalService","CustomerRepair","Canceled"],"collectionFormat":"csv"},"required":false},{"name":"from","in":"query","type":"string","description":"Either a specific date can be selected or is set to depending on the current date in case of selection of a range “this month”/“past month”/“past 3 months”.","format":"date","required":false},{"name":"to","in":"query","type":"string","description":"Either a specific date can be selected or is set to depending on the current date in case of selection of a range “this month”/“past month”/“past 3 months”.","format":"date","required":false},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/Event"},"example":[{"id":1,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"number":"FS22XXXX","name":"Phase failure","description":"Hello, we have noticed a phase failure on the robot. We recommend …","relatedEventId":74131,"serviceRequestId":65203,"creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"createdAt":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","baseStatus":"New","expiresAt":"Wed Mar 30 2022 04:25:57 GMT+0200 (Central European Summer Time)","modifiedBy":9348,"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":78657,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"modifiedAt":"Sun Jan 23 2022 15:33:32 GMT+0100 (Central European Standard Time)","product":{"id":5,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1451,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},"closedByUser":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":40357,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"closedAt":"Sat Mar 05 2022 12:30:27 GMT+0100 (Central European Standard Time)","closedReason":"NotNeeded","closedReasonNote":"Customer has resolved the issue.","customerId":5416,"branchId":1258,"files":[{"filename":"report.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":12578,"createdAt":"Sat May 14 2022 11:07:30 GMT+0200 (Central European Summer Time)"}],"thumbnails":[{"fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","dataURI":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}]},{"id":2,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"number":"FS22XXXX","name":"Phase failure","description":"Hello, we have noticed a phase failure on the robot. We recommend …","relatedEventId":74131,"serviceRequestId":65203,"creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"createdAt":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","baseStatus":"Expired","expiresAt":"Wed Mar 30 2022 04:25:57 GMT+0200 (Central European Summer Time)","modifiedBy":9348,"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":78657,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"modifiedAt":"Sun Jan 23 2022 15:33:32 GMT+0100 (Central European Standard Time)","product":{"id":5,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1451,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},"closedByUser":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":40357,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"closedAt":"Sat Mar 05 2022 12:30:27 GMT+0100 (Central European Standard Time)","closedReason":"NotNeeded","closedReasonNote":"Customer has resolved the issue.","customerId":5416,"branchId":59,"files":[{"filename":"report.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":12578,"createdAt":"Sat May 14 2022 11:07:30 GMT+0200 (Central European Summer Time)"}],"thumbnails":[{"fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","dataURI":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}]},{"id":3,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"number":"FS22XXXX","name":"Phase failure","description":"Hello, we have noticed a phase failure on the robot. We recommend …","relatedEventId":74131,"serviceRequestId":65203,"creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"createdAt":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","baseStatus":"ServiceRequested","expiresAt":"Wed Mar 30 2022 04:25:57 GMT+0200 (Central European Summer Time)","modifiedBy":9348,"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":78657,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"modifiedAt":"Sun Jan 23 2022 15:33:32 GMT+0100 (Central European Standard Time)","product":{"id":5,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1451,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},"closedByUser":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":40357,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"closedAt":"Sat Mar 05 2022 12:30:27 GMT+0100 (Central European Standard Time)","closedReason":"NotNeeded","closedReasonNote":"Customer has resolved the issue.","customerId":5416,"files":[{"filename":"report.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":12578,"createdAt":"Sat May 14 2022 11:07:30 GMT+0200 (Central European Summer Time)"}],"thumbnails":[{"fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","dataURI":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}]},{"id":4,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"number":"FS22XXXX","name":"Phase failure","description":"Hello, we have noticed a phase failure on the robot. We recommend …","relatedEventId":74131,"serviceRequestId":65203,"creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"createdAt":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","baseStatus":"Closed","expiresAt":"Wed Mar 30 2022 04:25:57 GMT+0200 (Central European Summer Time)","modifiedBy":9348,"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":78657,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"modifiedAt":"Sun Jan 23 2022 15:33:32 GMT+0100 (Central European Standard Time)","product":{"id":5,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1451,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},"closedByUser":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":40357,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"closedAt":"Sat Mar 05 2022 12:30:27 GMT+0100 (Central European Standard Time)","closedReason":"NotNeeded","closedReasonNote":"Customer has resolved the issue.","customerId":5416,"files":[{"filename":"report.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":12578,"createdAt":"Sat May 14 2022 11:07:30 GMT+0200 (Central European Summer Time)"}],"thumbnails":[{"fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","dataURI":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}]}]}},"405":{"description":"Invalid input"}}},"post":{"tags":["event"],"summary":"Create a new event - admin","description":"Create a new event - admin","operationId":"postNewEventAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/EventPost"}}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/EventPostResponse"}}}}},"/internal/customers":{"get":{"tags":["other"],"summary":"Get list of available customers","description":"Get list of available customers","operationId":"getEventCustomers","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/Customer"},"example":[{"id":5416,"name":"Axiom Demo","branches":[{"id":5656,"name":"Axiom"},{"id":15,"name":"Beroun"}]},{"id":1111,"name":"Skoda","branches":[{"id":15,"name":"Koprivnice"}]}]}},"405":{"description":"Invalid input"}}}},"/internal/products":{"get":{"tags":["other"],"summary":"Get list of available products/robots","description":"Get list of available products/robots","operationId":"getEventProducts","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/DeviceGenInfo"}}},"405":{"description":"Invalid input"}}}},"/internal/products/icons":{"get":{"tags":["other"],"summary":"Get available icons for products - Admin","description":"Get available icons for products - Admin","operationId":"getDevicesIconsAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/KeyUrlPair"}}},"405":{"description":"Invalid input"}}}},"/internal/events/{eventId}":{"get":{"tags":["event"],"summary":"Get general information on a specific event - admin","description":"Get general information on a specific event - admin","operationId":"getEventGeneralInfoAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"allOf":[{"$ref":"#/definitions/Event"},{"type":"object","properties":{"internalNote":{"type":"string","x-nullable":true,"description":"Optional parameter. Used in case an internal note is attached to the event. ","example":"This is an internal note."}}}]}},"405":{"description":"Invalid input"}}},"patch":{"tags":["event"],"summary":"Event management by admin","description":"Event management by admin - change status and include additional info where necessary","operationId":"patchEventStatusAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/EventPatch"}}],"responses":{"200":{"description":"Successful"}}},"put":{"tags":["event"],"summary":"Update an existing event - admin","description":"Update an existing event - admin","operationId":"updateExistingEventAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/EventPut"}}],"responses":{"200":{"description":"Successful"}}},"delete":{"tags":["event"],"summary":"Delete an existing event - admin","description":"Delete an existing event - admin","operationId":"deleteExistingEventAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful"}}}},"/internal/events/{eventId}/read":{"post":{"tags":["event"],"summary":"Post read status of the specific event - admin","description":"Post read status of the specific event - admin","operationId":"postEventIsReadAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/internal/events/categories":{"get":{"tags":["event"],"summary":"Get information on categories available for events - admin","description":"Get information on categories available for events - admin","operationId":"getEventCategoriesAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/EventCategory"},"example":[{"id":1,"name":"Novinky","sysName":"News","color":"d1f2cf","textColor":"1b4718","color2":"d1f2cf","textColor2":"1b4718","isRepeatable":false,"isCreatable":true,"customerRelated":false,"productRelated":false,"hotlineRelated":false,"isExpirable":true,"isClosable":false,"isReparable":false,"isChatable":false},{"id":2,"name":"Informace","sysName":"Information","color":"cceeff","textColor":4480,"color2":"cceeff","textColor2":4480,"isRepeatable":false,"isCreatable":true,"customerRelated":true,"productRelated":false,"hotlineRelated":false,"isExpirable":false,"isClosable":false,"isReparable":false,"isChatable":false},{"id":3,"name":"Hotline","sysName":"Hotline","color":"dcccff","textColor":200066,"color2":"dcccff","textColor2":200066,"isRepeatable":false,"isCreatable":false,"customerRelated":null,"productRelated":true,"hotlineRelated":true,"isExpirable":true,"isClosable":false,"isReparable":false,"isChatable":false},{"id":4,"name":"Connected Services","sysName":"ConnectedServices","color":"ffdbde","textColor":"a30005","color2":"ffdbde","textColor2":"a30005","isRepeatable":true,"isCreatable":true,"customerRelated":null,"productRelated":true,"hotlineRelated":false,"isExpirable":false,"isClosable":true,"isReparable":true,"isChatable":true}]}},"405":{"description":"Invalid input"}}}},"/internal/events/internal-users":{"get":{"tags":["event"],"summary":"Get information on internal users maintaining the admin event section","description":"Get information on internal users maintaining the admin event section","operationId":"getEventAdminUsers","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/User"}}},"405":{"description":"Invalid input"}}}},"/internal/events/{eventId}/files/upload":{"post":{"tags":["event"],"summary":"Upload attachment(s) to the specific event - admin","description":"Upload attachment(s) to the specific event - admin","operationId":"uploadEventAttachment","consumes":["multipart/form-data"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"file","in":"formData","required":true,"type":"file"}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/DocumentUpload"}},"405":{"description":"Invalid input"}}}},"/internal/events/{eventId}/files/{fileKey}":{"delete":{"tags":["event"],"summary":"Delete a specific file related to an event","description":"Delete a specific file related to an event","operationId":"deleteEventFiles","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"eventId","in":"path","description":"a unique identifier of the selected event","required":true,"type":"integer"},{"name":"fileKey","in":"path","description":"a file UUID key of the specific file","required":true,"type":"string","format":"UUID"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases":{"get":{"tags":["case-management"],"summary":"Get list of cases","description":"Get list of cases","operationId":"getCaseList","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"categories","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by category(ies)","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"baseStatuses","in":"query","description":"The case status. Based on the case status, cases are then identified either as ‘active’ or ‘closed’. Differentiate based on a selected tab. <br> - ‘active’ has the following baseStatuses: NewCase, OfferedCase, ToBeRealizedCase, DelegatedCase, ReviewBeforeInvoicingCase, ToBeInvoicedCase <br> - ‘closed’ has the following baseStatuses: CompletedCase, CanceledCase","required":true,"type":"array","items":{"type":"string","enum":["NewCase","OfferedCase","ToBeRealizedCase","DelegatedCase","ReviewBeforeInvoicingCase","ToBeInvoicedCase","CompletedCase","CanceledCase"],"collectionFormat":"csv"}},{"name":"sortColumn","in":"query","description":"Used in order to get the objects sorted by either a creation or modification date.","required":true,"type":"string","enum":["createdAt","modifiedAt"]},{"name":"sortOrder","in":"query","description":"Used in order to get the correct order sort.","required":true,"type":"string","enum":["asc","desc"]},{"name":"limit","in":"query","description":"Optional. The number of items to return. ","required":false,"type":"integer"},{"name":"start","in":"query","description":"Used to request a subsequent set of data when scrolling through. ","required":false,"type":"integer"},{"name":"query","in":"query","description":"A search phrase. Used only for fulltext search. ","required":false,"type":"string"},{"name":"from","in":"query","type":"string","description":"Either a specific date can be selected or is set to depending on the current date in case of selection of a range “this month”/“past month”/“past 3 months”.","format":"date","required":false},{"name":"to","in":"query","type":"string","description":"Either a specific date can be selected or is set to depending on the current date in case of selection of a range “this month”/“past month”/“past 3 months”.","format":"date","required":false},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/CaseGenInfo"},"example":[{"id":1,"createdAt":"Fri Apr 22 2022 19:58:26 GMT+0200 (Central European Summer Time)","modifiedAt":"Wed Oct 06 2021 22:13:27 GMT+0200 (Central European Summer Time)","creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":88095,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":true,"isCustomerUser":true},"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":71276,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"baseStatus":"NewCase","number":"FS22XXXX","relatedCaseId":60511,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"branch":{"id":525,"name":"beroun","street":"Hlavní","city":"Beroun","postalCode":"26601","gpsLat":83369,"gpsLon":57822},"billingCustomer":{"id":10,"name":"axiom demo","identifier":"axiom","VAT":"CZ00011111"},"additionalFields":[{"key":"PMSA_Offer","name":"Others.CaseManagement.Case.AdditionalField.PMFa_OfferNumber","value":"JKA216541AS23987"}]},{"id":2,"createdAt":"Fri Apr 22 2022 19:58:26 GMT+0200 (Central European Summer Time)","modifiedAt":"Wed Oct 06 2021 22:13:27 GMT+0200 (Central European Summer Time)","creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":88095,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":true,"isCustomerUser":true},"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":71276,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"baseStatus":"OfferedCase","number":"FS22XXXX","relatedCaseId":60511,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"branch":{"id":525,"name":"beroun","street":"Hlavní","city":"Beroun","postalCode":"26601","gpsLat":83369,"gpsLon":57822},"billingCustomer":{"id":10,"name":"axiom demo","identifier":"axiom","VAT":"CZ00011111"},"additionalFields":[{"key":"PMSA_Offer","name":"Others.CaseManagement.Case.AdditionalField.PMFa_OfferNumber","value":"JKA216541AS23987"}]},{"id":3,"createdAt":"Fri Apr 22 2022 19:58:26 GMT+0200 (Central European Summer Time)","modifiedAt":"Wed Oct 06 2021 22:13:27 GMT+0200 (Central European Summer Time)","creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":88095,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":true,"isCustomerUser":true},"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":71276,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"baseStatus":"ToBeRealizedCase","number":"FS22XXXX","relatedCaseId":60511,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"branch":{"id":525,"name":"beroun","street":"Hlavní","city":"Beroun","postalCode":"26601","gpsLat":83369,"gpsLon":57822},"billingCustomer":{"id":10,"name":"axiom demo","identifier":"axiom","VAT":"CZ00011111"},"additionalFields":[{"key":"PMSA_Offer","name":"Others.CaseManagement.Case.AdditionalField.PMFa_OfferNumber","value":"JKA216541AS23987"}]},{"id":4,"createdAt":"Fri Apr 22 2022 19:58:26 GMT+0200 (Central European Summer Time)","modifiedAt":"Wed Oct 06 2021 22:13:27 GMT+0200 (Central European Summer Time)","creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":88095,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":true,"isCustomerUser":true},"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":71276,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"baseStatus":"DelegatedCase","number":"FS22XXXX","relatedCaseId":60511,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"branch":{"id":525,"name":"beroun","street":"Hlavní","city":"Beroun","postalCode":"26601","gpsLat":83369,"gpsLon":57822},"billingCustomer":{"id":10,"name":"axiom demo","identifier":"axiom","VAT":"CZ00011111"},"additionalFields":[{"key":"PMSA_Offer","name":"Others.CaseManagement.Case.AdditionalField.PMFa_OfferNumber","value":"JKA216541AS23987"}]},{"id":5,"createdAt":"Fri Apr 22 2022 19:58:26 GMT+0200 (Central European Summer Time)","modifiedAt":"Wed Oct 06 2021 22:13:27 GMT+0200 (Central European Summer Time)","creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":88095,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":true,"isCustomerUser":true},"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":71276,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"baseStatus":"ReviewBeforeInvoicingCase","number":"FS22XXXX","relatedCaseId":60511,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"branch":{"id":525,"name":"beroun","street":"Hlavní","city":"Beroun","postalCode":"26601","gpsLat":83369,"gpsLon":57822},"billingCustomer":{"id":10,"name":"axiom demo","identifier":"axiom","VAT":"CZ00011111"},"additionalFields":[{"key":"PMSA_Offer","name":"Others.CaseManagement.Case.AdditionalField.PMFa_OfferNumber","value":"JKA216541AS23987"}]},{"id":6,"createdAt":"Fri Apr 22 2022 19:58:26 GMT+0200 (Central European Summer Time)","modifiedAt":"Wed Oct 06 2021 22:13:27 GMT+0200 (Central European Summer Time)","creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":88095,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":true,"isCustomerUser":true},"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":71276,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"baseStatus":"ToBeInvoicedCase","number":"FS22XXXX","relatedCaseId":60511,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"branch":{"id":525,"name":"beroun","street":"Hlavní","city":"Beroun","postalCode":"26601","gpsLat":83369,"gpsLon":57822},"billingCustomer":{"id":10,"name":"axiom demo","identifier":"axiom","VAT":"CZ00011111"},"additionalFields":[{"key":"PMSA_Offer","name":"Others.CaseManagement.Case.AdditionalField.PMFa_OfferNumber","value":"JKA216541AS23987"}]},{"id":7,"createdAt":"Fri Apr 22 2022 19:58:26 GMT+0200 (Central European Summer Time)","modifiedAt":"Wed Oct 06 2021 22:13:27 GMT+0200 (Central European Summer Time)","creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":88095,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":true,"isCustomerUser":true},"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":71276,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"baseStatus":"CompletedCase","number":"FS22XXXX","relatedCaseId":60511,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"branch":{"id":525,"name":"beroun","street":"Hlavní","city":"Beroun","postalCode":"26601","gpsLat":83369,"gpsLon":57822},"billingCustomer":{"id":10,"name":"axiom demo","identifier":"axiom","VAT":"CZ00011111"},"additionalFields":[{"key":"PMSA_Offer","name":"Others.CaseManagement.Case.AdditionalField.PMFa_OfferNumber","value":"JKA216541AS23987"}]},{"id":8,"createdAt":"Fri Apr 22 2022 19:58:26 GMT+0200 (Central European Summer Time)","modifiedAt":"Wed Oct 06 2021 22:13:27 GMT+0200 (Central European Summer Time)","creator":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":88095,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":true,"isCustomerUser":true},"modifier":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":71276,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true},"baseStatus":"CanceledCase","number":"FS22XXXX","relatedCaseId":60511,"category":{"id":5,"name":"Paid Service","sysName":"service","color":"ff00ff","textColor":"000000","color2":"ff00ff","textColor2":"000000"},"branch":{"id":525,"name":"beroun","street":"Hlavní","city":"Beroun","postalCode":"26601","gpsLat":83369,"gpsLon":57822},"billingCustomer":{"id":10,"name":"axiom demo","identifier":"axiom","VAT":"CZ00011111"},"additionalFields":[{"key":"PMSA_Offer","name":"Others.CaseManagement.Case.AdditionalField.PMFa_OfferNumber","value":"JKA216541AS23987"}]}]}},"405":{"description":"Invalid input"}}}},"/customer/case-management/categories":{"get":{"tags":["case-management"],"summary":"Get list of case categories - Customer","description":"Get list of cases categories - Customer","operationId":"getCaseListCategories","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/CaseCategory"},"example":[{"id":1,"name":"Placený zásah","sysName":"PaidServiceMission","color":"ff0000","textColor":0,"color2":"ff0000","textColor2":0},{"id":2,"name":"Záruka","sysName":"SEROP_Warranty","color":"ffc000","textColor":0,"color2":"ffc000","textColor2":0}]}},"405":{"description":"Invalid input"}}}},"/internal/case-management/categories":{"get":{"tags":["case-management"],"summary":"Get list of case categories - Admin","description":"Get list of cases categories - Admin","operationId":"getCaseListCategoriesAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/CaseCategory"},"example":[{"id":1,"name":"Placený zásah","sysName":"PaidServiceMission","color":"ff0000","textColor":0,"color2":"ff0000","textColor2":0},{"id":2,"name":"Záruka","sysName":"SEROP_Warranty","color":"ffc000","textColor":0,"color2":"ffc000","textColor2":0}]}},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases/{caseId}":{"get":{"tags":["case-management"],"summary":"Get general information on a specific case","description":"Get general information on a specific case","operationId":"getCaseGeneralInfo","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/CaseGenInfo"}},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases/{caseId}/read":{"post":{"tags":["case-management"],"summary":"Post read status of the specific case - customer","description":"Post read status of the specific case - customer","operationId":"postCaseIsRead","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases/{caseId}/customer-users":{"get":{"tags":["case-management"],"summary":"Get information about the customer representatives (users)","description":"Get information about the customer representatives (users)","operationId":"getCaseCustomerUsers","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"categories","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by category(ies)","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/User"}}},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases/{caseId}/delegations":{"get":{"tags":["case-management"],"summary":"Get information about delegations assigned to the given case","description":"Get information about delegations assigned to the given case","operationId":"getCaseDelegations","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"categories","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by category(ies)","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/Delegation"}}},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases/{caseId}/files":{"get":{"tags":["case-management"],"summary":"Get information about documents assigned to the given case","description":"Get information about documents assigned to the given case","operationId":"getCaseFiles","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"categories","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by category(ies)","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/Document"}}},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases/{caseId}/spare-parts":{"get":{"tags":["case-management"],"summary":"Switching to the Spare parts tab of the specific case","description":"Switching to the Spare parts tab of the specific case","operationId":"getCaseSpareParts","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"categories","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by category(ies)","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/CaseSparePart"}}},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases/{caseId}/products":{"get":{"tags":["case-management"],"summary":"Switching to the Robots tab of the specific case","description":"Switching to the Robots tab of the specific case","operationId":"getCaseRobots","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"categories","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by category(ies)","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/DeviceGenInfo"}}},"405":{"description":"Invalid input"}}}},"/customer/case-management/cases/{caseId}/statuses":{"get":{"tags":["case-management"],"summary":"Retrieve the status history of the specific case.","description":"Retrieve the status history of the specific case.","operationId":"getCaseStatusHistory","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/CaseStatus"},"example":[{"baseStatus":"NewCase","order":1,"timestamp":"Sun Oct 24 2021 03:31:41 GMT+0200 (Central European Summer Time)","userId":9348,"user":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true}},{"baseStatus":"OfferedCase","timestamp":"Sun Oct 25 2021 10:25:00 GMT+0200 (Central European Summer Time)","userId":9348,"user":{"id":9348,"fullname":"Aaron Parecki","firstname":"Aaron","surname":"Parecki","degree":"","title":"demo user","sex":67170,"cultureLCID":1029,"phone":"+420736101202","email":"aaron.parecki@demo.com","isInternalUser":false,"isCustomerUser":true}}]}},"405":{"description":"Invalid input"}}}},"/internal/case-management/cases/{caseId}/read":{"post":{"tags":["case-management"],"summary":"Post read status of the specific case - admin","description":"Post read status of the specific case - admin","operationId":"postCaseIsReadAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"caseId","in":"path","description":"a unique identifier of the selected case","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/customer/products":{"get":{"tags":["devices"],"summary":"Get list of devices","description":"Get list of devices","operationId":"getDeviceList","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branches","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"name":"warranty","in":"query","description":"Optional integer. Used only in case of filtering by warranty.","required":false,"type":"integer"},{"name":"regularMaintenance","in":"query","description":"Optional integer. Used only in case of filtering by preventive check values (i.e. by “regularMaintenance”).","required":false,"type":"integer"},{"name":"contract","in":"query","description":"Optional integer. Used only in case of filtering by contract type.","required":false,"type":"integer"},{"name":"remoteService","in":"query","description":"Optional integer. Used only in case of filtering by a Connected services value (i.e. by “remoteService”).","required":false,"type":"integer"},{"name":"query","in":"query","description":"A search phrase. Used only for fulltext search. ","required":false,"type":"string"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/DeviceGenInfo"},"example":[{"id":1,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"isAgreed":true,"icon":"IRC5Controller"},{"id":2,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1,"slaveOrder":1,"isAgreed":true,"icon":"IRC5Controller"},{"id":3,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1,"slaveOrder":3,"isAgreed":true,"icon":"IRC5Controller"},{"id":4,"branchId":1,"productGroupId":2,"productTypeId":1,"productType":"robot","uniqueCode":"2400-123450","internalCode":"AKSSII-2","manufactured":"2022-02-05T00:01:01.000Z","warranty":true,"warrantyFrom":"2022-02-06T00:00:00.000Z","warrantyTo":"2023-02-06T00:00:00.000Z","remoteService":true,"remoteServiceTo":"2032-02-06T00:00:00.000Z","regularMaintenancePerYear":2,"masterProductId":1,"slaveOrder":2,"isAgreed":true,"icon":"IRC5Controller"}]}},"405":{"description":"Invalid input"}}}},"/customer/products/icons":{"get":{"tags":["devices"],"summary":"Get available icons for products","description":"Get available icons for products","operationId":"getDevicesIcons","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/KeyUrlPair"}}},"405":{"description":"Invalid input"}}}},"/customer/products/{productId}":{"get":{"tags":["devices"],"summary":"Get general information about a specific device","description":"Get general information about a specific device","operationId":"getDeviceGeneralInfo","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"productId","in":"path","description":"a unique identifier of the selected device","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/DeviceGenInfo"}},"405":{"description":"Invalid input"}}},"patch":{"tags":["devices"],"summary":"Add custome note to a device","description":"Add custome note to a device","operationId":"patchProduct","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"productId","in":"path","description":"a unique identifier of the selected device","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"customerNote","in":"body","description":"Includes the content of the parameter when loading the device info and attaching a new string entered by the user.","required":true,"schema":{"type":"object","properties":{"customerNote":{"type":"string","example":"This is my robot."}}}}],"responses":{"200":{"description":"Successful"}}}},"/customer/products/{productId}/robot":{"get":{"tags":["devices"],"summary":"Get detailed information about a specific device","description":"Get detailed information about a specific device","operationId":"getDeviceDetailInfo","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"productId","in":"path","description":"a unique identifier of the selected device","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/DeviceDetailInfo"}},"405":{"description":"Invalid input"}}}},"/customer/product-groups/{productGroupId}":{"get":{"tags":["devices"],"summary":"Get detailed information related to the specific contract of the product group the following request is sent.","operationId":"getDeviceProductGroup","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"productGroupId","in":"path","description":"a unique identifier of the selected group - retrieved in the general information","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/DeviceProductGroup"}},"405":{"description":"Invalid input"}}}},"/customer/branches/{branchId}/internal-users":{"get":{"tags":["devices"],"summary":"Get detailed information about the responsible contact personnel. branchId is a unique identifier of the currently selected branch.","operationId":"getDeviceBranchUsers","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"branchId","in":"path","description":"a unique identifier of the currently selected branch","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/DeviceBranchUser"}}},"405":{"description":"Invalid input"}}}},"/customer/products/{productId}/files":{"get":{"tags":["devices"],"summary":"Get information about documents assigned to the given device","description":"Get information about documents assigned to the given device","operationId":"getDeviceFiles","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"productId","in":"path","description":"a unique identifier of the selected device","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"branchId","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by branch(es).","required":false,"type":"array","items":{"type":"integer"}},{"name":"categories","in":"query","description":"Optional array of integers separated by comma. Used only in case we want to ensure filtering by category(ies)","required":false,"type":"array","items":{"type":"integer"},"collectionFormat":"csv"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/Document"}}},"405":{"description":"Invalid input"}}}},"/customer/products/{productId}/files/upload":{"post":{"tags":["devices"],"summary":"Upload customer's files to a specific device","description":"Upload customer's files to a specific device","operationId":"postCustomerFilesToDevices","consumes":["multipart/form-data"],"produces":["application/json"],"parameters":[{"name":"productId","in":"path","description":"a unique identifier of the selected device","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"categoryId","in":"formData","description":"Category of the selected device. This information is included in an endpoint ../customer/settings under the key:Infoservice.Products.Files.UploadCategoryId.","required":true,"type":"integer"},{"name":"description","in":"formData","description":"Optional description for the uploaded file.","required":false,"type":"string"},{"name":"file","in":"formData","required":true,"type":"file"}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/DocumentUpload"}},"405":{"description":"Invalid input"}}}},"/customer/products/{productId}/files/{fileKey}":{"delete":{"tags":["devices"],"summary":"Delete a specific file related to a product","description":"Delete a specific file related to a product","operationId":"deleteCustomerFileDevices","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"productId","in":"path","description":"a unique identifier of the selected device","required":true,"type":"integer"},{"name":"fileKey","in":"path","description":"a file UUID key of the specific file","required":true,"type":"string","format":"UUID"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/customer/accessories":{"get":{"tags":["accessories"],"summary":"Get list of accessories - customer.","operationId":"getAccessoryList","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"limit","in":"query","description":"Optional. The number of items to return. ","required":false,"type":"integer"},{"name":"start","in":"query","description":"Used to request a subsequent set of data when scrolling through. ","required":false,"type":"integer"},{"name":"query","in":"query","description":"A search phrase. Used only for fulltext search. ","required":false,"type":"string"},{"name":"tags","in":"query","description":"Used when filtering by tags. In case of multiple tags, added as a comma separated list list (e.g. tags=IRC5,OmniCore). List of available tags can be read from /accessories/tags endpoint","type":"array","items":{"type":"integer","collectionFormat":"csv"},"required":false},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/Accessory"},"example":[{"id":1,"name":"Automatic Cable System - Flex PendantRetractable Cable","code":"3HAC010101-001","description":"ABB’s FPRC is an automatic cable winding system for teach pendants. Spring driven, the system is fast and easy to maintain.","specifications":[{"key":"width","value":"222 cm","order":1},{"key":"height","value":"180 cm","order":2},{"key":"depth","value":"129 cm","order":3}],"tags":[{"name":"IRC5"},{"name":"Omnicore"}],"images":[{"url":"http://downloads.test.com/5774/flexCable_IRC5.png","order":1}],"files":[{"filename":"technical specification.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":186000,"createdAt":"2022-08-08T17:00:01.194Z"}]},{"id":2,"name":"Automatic Cable System - Another Cable","code":"HELLO-001","description":"ABB’s FPRC is an automatic cable winding system for teach pendants. Spring driven, the system is fast and easy to maintain.","specifications":[{"key":"width","value":"222 cm","order":1},{"key":"height","value":"180 cm","order":2},{"key":"depth","value":"129 cm","order":3}],"tags":[{"name":"IRC5"},{"name":"Omnicore"}],"images":[{"url":"http://downloads.test.com/575/anotherCable.png","order":2}],"files":[{"filename":"anotherFile.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":25153,"createdAt":"2022-08-09T17:00:01.194Z"}]}]}},"405":{"description":"Invalid input"}}}},"/customer/accessories/inquiries":{"get":{"tags":["accessories"],"summary":"Get request history of accessories.","operationId":"getAccessoryInquiries","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/AccessoryInquiry"}}},"405":{"description":"Invalid input"}}},"post":{"tags":["accessories"],"summary":"Request quote - Post an inquiry for an accessory quote.","description":"Request quote - Post an inquiry for an accessory quote","operationId":"postAccessoryInquiry","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/AccessoryInquiryPost"}}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/customer/accessories/tags":{"get":{"tags":["accessories"],"summary":"Get list of accessory tags - customer.","description":"Get list of accessory tags - customer.","operationId":"getAccessoryTags","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/AccessoryTags"},"example":[{"name":"IRC5"},{"name":"OmniCore"}]}}}}},"/customer/accessories/{accessoryId}":{"get":{"tags":["accessories"],"summary":"Get detailed information about the specific accessory - customer.","operationId":"getAccessoryDetail","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"accessoryId","in":"path","description":"a unique identifier of the currently selected accessory","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/Accessory"}},"405":{"description":"Invalid input"}}},"put":{"tags":["accessories"],"summary":"Add/Update an accessory item","operationId":"putAccessoryAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"accessoryId","in":"path","description":"a unique identifier of the currently selected accessory","required":true,"type":"integer"},{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/AccessoryAdminPut"}}],"responses":{"200":{"description":"Successful"}}}},"/internal/accessories":{"get":{"tags":["accessories"],"summary":"Get list of accessories - admin.","operationId":"getAccessoryListAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"limit","in":"query","description":"Optional. The number of items to return. ","required":false,"type":"integer"},{"name":"start","in":"query","description":"Used to request a subsequent set of data when scrolling through. ","required":false,"type":"integer"},{"name":"tags","in":"query","description":"Used when filtering by tags. In case of multiple tags, added as a comma separated list list (e.g. tags=IRC5,OmniCore). List of available tags can be read from /accessories/tags endpoint","type":"array","items":{"type":"integer","collectionFormat":"csv"},"required":false},{"name":"isVisible","in":"query","description":"Boolean. Defined if the accessory is visible in a list as Active or Draft.<br> - true = Accessory in Active section<br> - false = Accessory in Draft section<br> - parameter not used = Display all accessories","type":"boolean","required":false},{"name":"query","in":"query","description":"A search phrase. Used only for fulltext search. ","required":false,"type":"string"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/AccessoryAdmin"},"example":[{"id":1,"name":"Automatic Cable System - Flex PendantRetractable Cable","code":"3HAC010101-001","description":"ABB’s FPRC is an automatic cable winding system for teach pendants. Spring driven, the system is fast and easy to maintain.","specifications":[{"key":"width","value":"222 cm","order":1},{"key":"height","value":"180 cm","order":2},{"key":"depth","value":"129 cm","order":3}],"tags":[{"name":"IRC5"},{"name":"Omnicore"}],"images":[{"url":"http://downloads.test.com/5774/flexCable_IRC5.png","order":1}],"files":[{"filename":"technical specification.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":186000,"createdAt":"2022-08-08T17:00:01.194Z"}],"isVisible":true},{"id":2,"name":"Automatic Cable System - Another Cable","code":"HELLO-001","description":"ABB’s FPRC is an automatic cable winding system for teach pendants. Spring driven, the system is fast and easy to maintain.","specifications":[{"key":"width","value":"222 cm","order":1},{"key":"height","value":"180 cm","order":2},{"key":"depth","value":"129 cm","order":3}],"tags":[{"name":"IRC5"},{"name":"Omnicore"}],"images":[{"url":"http://downloads.test.com/575/anotherCable.png","order":2}],"files":[{"filename":"anotherFile.pdf","fileKey":"4f04ee9f-f9b9-4d7c-938a-e220ddd082cc","size":25153,"createdAt":"2022-08-09T17:00:01.194Z"}],"isVisible":true}]}},"405":{"description":"Invalid input"}}},"post":{"tags":["accessories"],"summary":"Add a new accessory item","operationId":"postAccessoryAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/AccessoryAdminPut"}}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/AccessoryAdminPost"}}}}},"/internal/accessories/tags":{"get":{"tags":["accessories"],"summary":"Get list of accessory tags - admin.","description":"Get list of accessory tags - admin.","operationId":"getAccessoryTagsAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/AccessoryTags"},"example":[{"name":"IRC5"},{"name":"OmniCore"}]}}}}},"/internal/accessories/inquiries":{"get":{"tags":["accessories"],"summary":"Get inquiries on all accessories - admin","description":"Get inquiries on all accessories - admin","operationId":"getAccessoryInquiriesAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"baseStatuses","in":"query","type":"string","required":true,"enum":["New","Offered"],"collectionFormat":"csv"},{"name":"sortColumn","in":"query","description":"Used in order to get the objects sorted by either a creation or modification date.","required":true,"type":"string","enum":["createdAt","modifiedAt"],"default":"modifiedAt"},{"name":"sortOrder","in":"query","description":"Used in order to get the correct order sort.","required":true,"type":"string","default":"desc","enum":["asc","desc"]},{"name":"limit","in":"query","description":"Optional. The number of items to return. ","required":false,"type":"integer"},{"name":"start","in":"query","description":"Used to request a subsequent set of data when scrolling through. ","required":false,"type":"integer"},{"name":"from","in":"query","type":"string","format":"date","description":"Start date in case a filter by date is required.","required":false},{"name":"to","in":"query","type":"string","format":"date","description":"End date in case a filter by date is required.","required":false},{"name":"customers","in":"query","description":"Used to filter according to a selected ID of the customer (list of customers retrieved from a separate endpoint). In case of multiple customers, added as a comma separated list (e.g. customers=5416,98,2147)","type":"array","items":{"type":"integer","collectionFormat":"csv"},"required":false},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/AccessoryInquiryAdmin"}}},"405":{"description":"Invalid input"}}}},"/internal/accessories/inquiries/{inquiryId}":{"patch":{"tags":["accessories"],"summary":"Update/Close a specific inquiry - admin","description":"Update/Close a specific inquiry - admin","operationId":"patchAccessoryInquiryAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"inquiryId","in":"path","description":"ID of the selected inquiry","required":true,"type":"integer"},{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/AccessoryInquiryPatch"}}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/internal/accessories/inquiries/{inquiryId}/customer-users":{"get":{"tags":["accessories"],"summary":"Get contacts related to specific inquiry - admin","description":"Get contacts related to specific inquiry - admin","operationId":"getAccessoryInquiryUsersAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"inquiryId","in":"path","description":"ID of the selected inquiry","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful. Array of objects User. The email addresses and userId will be used when updating a request to Offered.","schema":{"type":"array","items":{"$ref":"#/definitions/User"}}},"405":{"description":"Invalid input"}}}},"/internal/accessories/{accessoryId}":{"get":{"tags":["accessories"],"summary":"Get detailed information about the specific accessory - admin.","operationId":"getAccessoryDetailAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"accessoryId","in":"path","description":"a unique identifier of the currently selected accessory","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/AccessoryAdmin"}},"405":{"description":"Invalid input"}}},"delete":{"tags":["accessories"],"summary":"Delete the selected accessory","operationId":"deleteAccessoryAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"accessoryId","in":"path","description":"a unique identifier of the currently selected accessory","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/internal/accessories/{accessoryId}/files/upload":{"post":{"tags":["accessories"],"summary":"Upload attachment(s) to the specific accessory - admin","description":"Upload attachment(s) to the specific accessory - admin","operationId":"uploadAccessoryAttachment","consumes":["multipart/form-data"],"produces":["application/json"],"parameters":[{"name":"accessoryId","in":"path","description":"a unique identifier of the currently selected accessory","required":true,"type":"integer"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"file","in":"formData","required":true,"type":"file"},{"name":"type","in":"formData","type":"string","description":"Parameter to differentiate whether an image or file is being uploaded. Backend uses this information to differentiate whether the upload should be \"with a thumbnail\" / \"as an attachment\" ","enum":["file","image"],"required":true},{"name":"order","in":"formData","type":"integer","description":"Order of the uploaded attachment."}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/DocumentUpload"}},"405":{"description":"Invalid input"}}}},"/internal/accessories/{accessoryId}/files/{fileKey}":{"patch":{"tags":["accessories"],"summary":"Update a specific file related to an accessory","description":"Update specific file related to an accessory (used to update the order)","operationId":"updateAccessoryFiles","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"accessoryId","in":"path","description":"a unique identifier of the currently selected accessory","required":true,"type":"integer"},{"name":"fileKey","in":"path","description":"a file UUID key of the specific file","required":true,"type":"string","format":"UUID"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/AccessoryFilePatch"}},"405":{"description":"Invalid input"}}},"delete":{"tags":["accessories"],"summary":"Delete a specific file related to an accessory","description":"Delete a specific file related to an accessory","operationId":"deleteAccessoryFiles","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"accessoryId","in":"path","description":"a unique identifier of the currently selected accessory","required":true,"type":"integer"},{"name":"fileKey","in":"path","description":"a file UUID key of the specific file","required":true,"type":"string","format":"UUID"},{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/internal/events/service-requests":{"get":{"tags":["event"],"summary":"Get service requests - admin","description":"Get service requests - admin","operationId":"getServiceRequestsAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"baseStatuses","in":"query","type":"string","required":true,"enum":["New","HandedOverForService","SolvedByDigitalService","CustomerRepair","Canceled"]},{"name":"sortColumn","in":"query","description":"Used in order to get the objects sorted by either a creation or modification date.","required":true,"type":"string","enum":["createdAt","modifiedAt"],"default":"modifiedAt"},{"name":"sortOrder","in":"query","description":"Used in order to get the correct order sort.","required":true,"type":"string","default":"desc","enum":["asc","desc"]},{"name":"limit","in":"query","description":"Optional. The number of items to return. ","required":false,"type":"integer"},{"name":"start","in":"query","description":"Used to request a subsequent set of data when scrolling through. ","required":false,"type":"integer"},{"name":"from","in":"query","type":"string","format":"date","description":"Start date in case a filter by date is required.","required":false},{"name":"to","in":"query","type":"string","format":"date","description":"End date in case a filter by date is required.","required":false},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","headers":{"X-Total-Count":{"description":"Number of total items","type":"integer"}},"schema":{"type":"array","items":{"$ref":"#/definitions/ServiceRequestAdmin"}}},"405":{"description":"Invalid input"}}}},"/internal/events/service-requests/{requestId}":{"get":{"tags":["event"],"summary":"Get specific service request - Admin","description":"Get specific service request - Admin","operationId":"getServiceRequestAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"requestId","in":"path","description":"ID of the selected request","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/ServiceRequestAdmin"}},"405":{"description":"Invalid input"}}},"patch":{"tags":["event"],"summary":"Update/Close a specific service request - admin","description":"Update/Close a specific service request - admin","operationId":"patchServiceRequestAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"requestId","in":"path","description":"ID of the selected request","required":true,"type":"integer"},{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ServiceRequestPatch"}}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/customer/events/service-requests/{requestId}":{"get":{"tags":["event"],"summary":"Get specific service request","description":"Get specific service request","operationId":"getServiceRequest","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"requestId","in":"path","description":"ID of the selected request","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/ServiceRequestAdmin"}},"405":{"description":"Invalid input"}}}},"/customer/chats":{"get":{"tags":["chat"],"summary":"Get chat threads - Customer","description":"Get chat threads - Customer","operationId":"getChatThreadsCustomer","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/ChatThread"}}}}},"post":{"tags":["chat"],"summary":"Create chat thread - Customer","description":"Create chat thread - Customer","operationId":"postChatThreadsCustomer","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ChatThreadPost"}}],"responses":{"200":{"description":"Successful","schema":{"type":"object","properties":{"id":{"type":"integer"}}}}}}},"/customer/chats/unread":{"get":{"tags":["chat"],"summary":"Get chat threads - Customer","description":"Get chat threads - Customer. Used for long- polling","operationId":"getChatThreadsCustomerPolling","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/ChatThread"}}}}}},"/internal/chats":{"get":{"tags":["chat"],"summary":"Get chat threads - Admin","description":"Get chat threads - Admin","operationId":"getChatThreadsAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/ChatThread"}}}}},"post":{"tags":["chat"],"summary":"Create chat thread - Admin","description":"Create chat thread - Admin","operationId":"postChatThreadsAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/ChatThreadPost"}}],"responses":{"200":{"description":"Successful","schema":{"type":"object","properties":{"id":{"type":"integer"}}}}}}},"/internal/chats/unread":{"get":{"tags":["chat"],"summary":"Get chat threads - Admin","description":"Get chat threads - Admin. Used for long-polling","operationId":"getChatThreadsAdminPolling","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/ChatThread"}}}}}},"/customer/chats/{chatId}/messages/unread":{"get":{"tags":["chat"],"summary":"Get new chat messages - Customer","description":"Get new chat messages - Customer. Used for long- polling","operationId":"getNewMessagesCustomer","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"An ID of the selected chat thread","required":true,"type":"integer"},{"name":"lastMessageId","in":"query","description":"An ID of the last message in the thread","required":false,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/ChatMessage"}}},"304":{"description":"Not Modified"}}}},"/internal/chats/{chatId}/messages/unread":{"get":{"tags":["chat"],"summary":"Get new chat messages - Admin","description":"Get new chat messages - Admin","operationId":"getNewMessagesAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"An ID of the selected chat thread","required":true,"type":"integer"},{"name":"lastMessageId","in":"query","description":"An ID of the last message in the thread","required":false,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/ChatMessage"}}},"304":{"description":"Not Modified"}}}},"/customer/chats/{chatId}/messages":{"get":{"tags":["chat"],"summary":"Get all chat messages - Customer","description":"Get all chat messages - Customer","operationId":"getAllMessagesCustomer","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"A ID of the selected chat thread","required":true,"type":"integer"},{"name":"limit","in":"query","description":"Maximum number of messages to be loaded on one page or scroll respectively. Recommended maximum is 30 messages.","required":true,"type":"integer"},{"name":"offset","in":"query","description":"A number of messages to be skipped. Used for requesting a subsequent set of data when scrolling through the messages.","required":false,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/ChatMessage"}}}}},"post":{"tags":["chat"],"summary":"Post new chat message - Customer","description":"Post new chat message - Customer","operationId":"postMessageCustomer","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"A ID of the selected chat thread","required":true,"type":"integer"},{"name":"customerId","type":"integer","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true},{"name":"message","in":"body","schema":{"type":"object","properties":{"text":{"type":"string","example":"Hello, I am contacting you due to the reported event."},"filesCount":{"type":"integer","description":"Number of attachments to be uploaded to this message. Equal to zero in case of no attachments.","example":1}}}}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/ChatMessage"}}}}},"/internal/chats/{chatId}/messages":{"get":{"tags":["chat"],"summary":"Get all chat messages - Admin","description":"Get all chat messages - Admin. Used for long- polling","operationId":"getAllMessagesAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"A ID of the selected chat thread","required":true,"type":"integer"},{"name":"limit","in":"query","description":"Maximum number of messages to be loaded on one page or scroll respectively. Recommended maximum is 30 messages.","required":true,"type":"integer"},{"name":"offset","in":"query","description":"A number of messages to be skipped. Used for requesting a subsequent set of data when scrolling through the messages.","required":false,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/ChatMessage"}}}}},"post":{"tags":["chat"],"summary":"Post new chat message - Admin","description":"Post new chat message - Admin","operationId":"postMessageAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"A ID of the selected chat thread","required":true,"type":"integer"},{"name":"message","in":"body","schema":{"type":"object","properties":{"text":{"type":"string","example":"Hello, I am contacting you due to the reported event."},"filesCount":{"type":"integer","description":"Number of attachments to be uploaded to this message. Equal to zero in case of no attachments.","example":1}}}}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/ChatMessage"}}}}},"/internal/chats/{chatId}/messages/{chatMessageId}/read":{"post":{"tags":["chat"],"summary":"Post read status - Admin","description":"Post read status - Admin","operationId":"postReadStatusAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"A ID of the selected chat thread","required":true,"type":"integer"},{"name":"chatMessageId","in":"path","description":"A ID of the given chat message","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful"}}}},"/customer/chats/{chatId}/messages/{chatMessageId}/read":{"post":{"tags":["chat"],"summary":"Post read status - Customer","description":"Post read status - Customer","operationId":"postReadStatusCustomer","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"A ID of the selected chat thread","required":true,"type":"integer"},{"name":"chatMessageId","in":"path","description":"A ID of the given chat message","required":true,"type":"integer"}],"responses":{"200":{"description":"Successful"}}}},"/internal/chats/{chatId}/messages/{chatMessageId}/files/upload":{"post":{"tags":["chat"],"summary":"Upload attachment(s) - Admin","description":"Upload attachment(s) - Admin","operationId":"uploadChatAttachmentsAdmin","consumes":["multipart/form-data"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"A ID of the selected chat thread","required":true,"type":"integer"},{"name":"chatMessageId","in":"path","description":"A ID of the given chat message","required":true,"type":"integer"},{"name":"files","in":"formData","type":"array","items":{"type":"string","format":"binary"},"required":true},{"name":"Content-Transfer-Encoding","in":"header","type":"string","default":"binary"}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/DocumentUpload"}}}}}},"/customer/chats/{chatId}/messages/{chatMessageId}/files/upload":{"post":{"tags":["chat"],"summary":"Upload attachment(s) - Customer","description":"Upload attachment(s) - Customer","operationId":"uploadChatAttachmentsCustomer","consumes":["multipart/form-data"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"chatId","in":"path","description":"A ID of the selected chat thread","required":true,"type":"integer"},{"name":"chatMessageId","in":"path","description":"A ID of the given chat message","required":true,"type":"integer"},{"name":"files","in":"formData","type":"array","items":{"type":"string","format":"binary"},"required":true},{"name":"Content-Transfer-Encoding","in":"header","type":"string","default":"binary"}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/DocumentUpload"}}}}}},"/customer/settings":{"get":{"tags":["settings-contacts"],"summary":"Get information about contacts and impressum - customer","operationId":"getContactsImpressum","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"key","in":"query","type":"string","description":"Specific section requested. <br> For specific contacts use “Infoservice.Contacts” <br> For specific information about the company use “Infoservice.Impressum” <br>","required":true},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/Settings-contacts"}},"405":{"description":"Invalid input"}}}},"/customer/users/settings":{"post":{"tags":["settings-users"],"summary":"Set specific users' settings for a customer","operationId":"postSettingsUsers","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"body","in":"body","description":"Body includes arbitrary key-value pairs to be updated. <br> For update of preferred sites/branches use: <br> 'key': 'Infoservice.Settings.PreferredBranches' <br> 'value' : Stringified array of ID e.g. “[1,2]”","schema":{"$ref":"#/definitions/KeyValueBoolPair"},"x-example":{"key":"Infoservice.Settings.PreferredBranches","value":"[1,2]"}},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}},"put":{"tags":["settings-users"],"summary":"Set specific users' settings for a customer","operationId":"putSettingsUsers","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"body","in":"body","description":"Body includes arbitrary key-value pairs to be updated. <br> For update of preferred sites/branches use: <br> 'key': 'Infoservice.Settings.PreferredBranches' <br> 'value' : Stringified array of ID e.g. “[1,2]”","schema":{"$ref":"#/definitions/KeyValueBoolPair"},"x-example":{"key":"Infoservice.Settings.PreferredBranches","value":"[1,2]"}},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful"},"405":{"description":"Invalid input"}}}},"/internal/settings":{"get":{"tags":["settings-contacts"],"summary":"Get information about contacts and impressum - admin","operationId":"getContactsImpressumAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"key","in":"query","type":"string","description":"Specific section requested. <br> For specific contacts use “Infoservice.Contacts” <br> For specific information about the company use “Infoservice.Impressum”","required":true},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"$ref":"#/definitions/Settings-contacts"}},"405":{"description":"Invalid input"}}},"put":{"tags":["settings-contacts"],"summary":"Update information about contacts and impressum - admin","operationId":"putContactsImpressumAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"body","in":"body","description":"key: The information about the key returned. Currently used keys are: <br> - For specific contacts use “Infoservice.Contacts” <br> - For specific information about the company use “Infoservice.Impressum” <br> value: Serialized JSON describing the given key. It is sent as String containing any arbitrary text.","schema":{"$ref":"#/definitions/Settings-contacts"}}],"responses":{"200":{"description":"Successful"}}}},"/customer/users/notifications":{"get":{"tags":["notifications"],"summary":"Get information about notifications settings - customer","operationId":"getNotificationsSettings","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/KeyValueBoolPair"},"example":[{"key":"Infoservice.Customer.Events","value":true},{"key":"Infoservice.Customer.Cases","value":true},{"key":"Infoservice.Customer.Cases","value":false}]}}}},"post":{"tags":["notifications"],"summary":"Update notifications settings - 1st \"key\" update - customer","operationId":"postNotificationsSettings","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/KeyValueBoolPair"}}],"responses":{"200":{"description":"Successful"}}},"put":{"tags":["notifications"],"summary":"Update notifications settings - existing \"key\" update - customer","operationId":"putNotificationsSettings","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/KeyValueBoolPair"}}],"responses":{"200":{"description":"Successful"}}}},"/internal/users/notifications":{"get":{"tags":["notifications"],"summary":"Get information about notifications settings - admin","operationId":"getNotificationsSettingsAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":false}],"responses":{"200":{"description":"Successful","schema":{"type":"array","items":{"$ref":"#/definitions/KeyValueBoolPair"},"example":[{"key":"Infoservice.Internal.Events.ServiceRequests","value":true},{"key":"Infoservice.Internal.Accessories.Inquiries","value":true},{"key":"Infoservice.Internal.Chats","value":false}]}}}},"post":{"tags":["notifications"],"summary":"Update notifications settings - 1st \"key\" update - admin","operationId":"postNotificationsSettingsAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/KeyValueBoolPair"}}],"responses":{"200":{"description":"Successful"}}},"put":{"tags":["notifications"],"summary":"Update notifications settings - existing \"key\" update - admin","operationId":"putNotificationsSettingsAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"$ref":"#/definitions/KeyValueBoolPair"}}],"responses":{"200":{"description":"Successful"}}}},"/customer/users/notifications/register":{"post":{"tags":["notifications"],"summary":"Post notification  - customer","operationId":"postNotification","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"name":"customerId","in":"query","description":"ID of the client the user currently represents. It is one of IDs (depending on the current user’s settings) retrieved during login in customerUser/customers/id","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/Notification"}}],"responses":{"200":{"description":"Successful"}}}},"/internal/users/notifications/register":{"post":{"tags":["notifications"],"summary":"Post notification  - admin","operationId":"postNotificationAdmin","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"divisionId","in":"query","description":"ID of the user’s division","required":true,"type":"integer"},{"in":"header","name":"Accept-Language","type":"string","enum":["en-GB","cs-CZ"],"required":true},{"name":"body","in":"body","schema":{"$ref":"#/definitions/Notification"}}],"responses":{"200":{"description":"Successful"}}}}},"definitions":{"Event":{"type":"object","required":["id","category","number","name","description","creator","createdAt","baseStatus"],"properties":{"id":{"type":"integer","description":"ID of the event","example":1045},"category":{"$ref":"#/definitions/EventCategory"},"number":{"type":"string","description":"Code of the event.","example":"FS22XXXX"},"name":{"type":"string","description":"Basic description (“one-liner”) of the event.","example":"Phase failure"},"description":{"type":"string","description":"A message to the customer as part of the event.","example":"Hello, we have noticed a phase failure on the robot. We recommend …"},"relatedEventId":{"type":"integer","description":"Used in case the event has been re-opened.","example":0,"x-nullable":true},"serviceRequestId":{"type":"integer","description":"","example":0,"x-nullable":true},"creator":{"$ref":"#/definitions/User"},"createdAt":{"type":"string","format":"date-time","x-nullable":true},"baseStatus":{"type":"string","enum":["New","Expired","ServiceRequested","Closed","HotlineConfirmed","HotlineCanceled"]},"expiresAt":{"type":"string","format":"date-time","description":"Describes when an active event will be moved to closed unless the status is changed by other means (i.e. closed by an admin or a customer). The backend part of the application is responsible for setting the correct stamp.","x-nullable":true},"modifiedBy":{"type":"integer"},"modifier":{"$ref":"#/definitions/User"},"modifiedAt":{"type":"string","description":"A timestamp when an event was created in a given baseStatus.","format":"date-time","x-nullable":true},"lastChangeAt":{"type":"string","description":"Any last change/modification of an event.","x-nullable":true},"product":{"$ref":"#/definitions/DeviceGenInfo"},"productId":{"type":"integer","description":"ID of the product (included in the object product)"},"closedByUser":{"$ref":"#/definitions/User"},"closedAt":{"type":"string","format":"date-time","description":"The timestamp when the event was closed.","x-nullable":true},"closedReason":{"type":"string","description":"This corresponds to the reasons such as “Customer fixed it by himself”, “No need to solve”, “Other reason”","enum":["CustomerRepair","NotNeeded","Other"]},"closedReasonNote":{"type":"string","description":"Used only in case Other is selected as a closedReason. A customer note on what has actually happened.","example":"Customer has resolved the issue.","x-nullable":true},"customerId":{"type":"integer","description":"Nullable integer. ID of the customer the event is intended for.","x-nullable":true,"example":5416},"branchId":{"type":"integer","description":"Nullabel integer. ID of the branch the event is intended for.","x-nullable":true,"example":1258},"files":{"type":"array","items":{"$ref":"#/definitions/Document"}},"thumbnails":{"type":"array","description":"Thumbnails of images or videos attached to the particular message. Empty if no thumbnail is available","items":{"type":"object","properties":{"fileKey":{"type":"string","format":"uuid","description":"UUID of the file the thumbnail belongs to.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"dataURI":{"type":"string","description":"Included a type of the thumbnail and base64 encoded data.","example":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}}}},"isRead":{"type":"boolean","description":"User-specific; in case the event is not read by the specific user, it should be highlighted in bold. <br> value = null: in case an Event entity is not returned directly but nested inside of another entity (e.g. service requests)","x-nullable":true,"example":false}}},"CaseCategory":{"type":"object","required":["id","name","sysName","color","textColor"],"properties":{"id":{"type":"integer","description":"A unique ID of the given category."},"name":{"type":"string"},"sysName":{"type":"string"},"color":{"type":"string","description":"Hex code of the color of background and text of the given category in ABB.sluzba.cz. E.g. ff00ff, 000000. Not to be used.","example":"ff00ff"},"textColor":{"type":"string","description":"Hex code of the color of background and text of the given category in ABB.sluzba.cz. E.g. ff00ff, 000000. Not to be used.","example":"000000"},"color2":{"type":"string","description":"Hex code of the color of background and text of the given category in the application. E.g. ff00ff, 000000.","example":"ff00ff"},"textColor2":{"type":"string","description":"Hex code of the color of background and text of the given category in the application. E.g. ff00ff, 000000.","example":"000000"}}},"EventCategory":{"type":"object","required":["id","name","sysName","color","textColor","color2","textColor2"],"properties":{"id":{"type":"integer","description":"A unique ID of the given category."},"name":{"type":"string"},"sysName":{"type":"string"},"color":{"type":"string","description":"Hex code of the color of background and text of the given category."},"textColor":{"type":"string","description":"Hex code of the color of background and text of the given category."},"isRepeatable":{"type":"boolean"},"isCreatable":{"type":"boolean","description":"E.g. “hotline” is set to False."},"customerRelated":{"type":"boolean","description":"Whether it is aimed at the specific customer.","x-nullable":true},"productRelated":{"type":"boolean","description":"Whether it is related to the specific product."},"hotlineRelated":{"type":"boolean"},"isExpirable":{"type":"boolean"},"isClosable":{"type":"boolean"},"isReparable":{"type":"boolean"},"isChatable":{"type":"boolean"}}},"EventPatch":{"type":"object","properties":{"baseStatus":{"description":"Modifying to ‘closed’, has the following baseStatus: Expired,Closed,HotlineConfirmed,HotlineCanceled","type":"string","enum":["ServiceRequested","Closed","HotlineConfirmed","HotlineCanceled"]},"closedReason":{"description":"Used only with baseStatus=Closed. Includes following options: CustomerRepair,NotNeeded,Other","type":"string","enum":["CustomerRepair","NotNeeded","Other"]},"closedReasonNote":{"description":"Used only with closedReason=Other. A written note by a customer.","type":"string","example":"Checked and it’s not a failure."},"internalNote":{"description":"A note entered by an admin. Expected to be used only on /internal endpoint","type":"string","example":"A note regarding the event."}}},"Category":{"type":"object","required":["id","name","sysName","color","textColor","color2","textColor2"],"properties":{"id":{"type":"integer","example":5},"name":{"type":"string","example":"Paid Service"},"sysName":{"type":"string","example":"service"},"color":{"type":"string","description":"Hex code of the color of background and text of the given category in ABB.sluzba.cz. E.g. ff00ff, 000000. Not to be used.","example":"ff00ff"},"textColor":{"type":"string","description":"Hex code of the color of background and text of the given category in ABB.sluzba.cz. E.g. ff00ff, 000000. Not to be used.","example":"000000"},"color2":{"type":"string","description":"Hex code of the color of background and text of the given category in the application. E.g. ff00ff, 000000.","example":"ff00ff"},"textColor2":{"type":"string","description":"Hex code of the color of background and text of the given category in the application. E.g. ff00ff, 000000.","example":"000000"}}},"CaseGenInfo":{"type":"object","required":["id","creator","baseStatus","number","category"],"properties":{"id":{"type":"integer","description":"ID of the reported case","example":1045},"createdAt":{"type":"string","format":"date-time","x-nullable":true},"modifiedAt":{"type":"string","format":"date-time","x-nullable":true},"creator":{"$ref":"#/definitions/User"},"modifier":{"$ref":"#/definitions/User"},"baseStatus":{"type":"string","enum":["NewCase","OfferedCase","ToBeRealizedCase","DelegatedCase","ReviewBeforeInvoicingCase","ToBeInvoicedCase","CompletedCase","CanceledCase"]},"isRead":{"type":"boolean","description":"User-specific; in case the case is not read by the specific user, it should be highlighted in bold.","x-nullable":true,"example":false},"number":{"type":"string","description":"Code number","example":"FS22XXXX"},"relatedCaseId":{"type":"integer","description":"ID of the related case.","example":0},"category":{"$ref":"#/definitions/Category"},"branch":{"$ref":"#/definitions/Branch"},"billingCustomer":{"type":"object","x-nullable":true,"required":["id","name"],"properties":{"id":{"type":"integer","example":10},"name":{"type":"string","example":"axiom demo"},"identifier":{"type":"string","example":"axiom"},"VAT":{"type":"string","example":"CZ00011111"}}},"additionalFields":{"type":"array","x-nullable":true,"items":{"type":"object","properties":{"key":{"type":"string","example":"PMSA_Offer","x-nullable":true},"name":{"type":"string","example":"Case.Offer.Name","x-nullable":true},"value":{"type":"string","example":"JKA216541AS23987","x-nullable":true}}}}}},"Branch":{"type":"object","required":["id","name","street","city","postalCose"],"x-nullable":true,"properties":{"id":{"type":"integer","example":525},"name":{"type":"string","example":"beroun"},"street":{"type":"string","example":"Hlavní"},"city":{"type":"string","example":"Beroun"},"postalCode":{"type":"string","example":"26601"},"gpsLat":{"type":"integer","format":"long","x-nullable":true},"gpsLon":{"type":"integer","format":"long","x-nullable":true}}},"EventPost":{"type":"object","required":["categoryId","name","description","baseStatus"],"properties":{"baseStatus":{"type":"string","enum":["New","Expired","ServiceRequested","Closed","HotlineConfirmed","HotlineCanceled","Draft"],"example":"Draft","description":"The new event is either created with baseStatus=’New’ or ’Draft’ depending whether a user decides to publish the event or saved it to draft. <br> Edited events (PUT) may include other baseStatus value. "},"categoryId":{"type":"integer","description":"ID of the category - error, news, hotline, information.","example":1},"name":{"type":"string","description":"Basic description (“one-liner”) of the event.","example":"Phase failure"},"customer":{"type":"object","properties":{"id":{"type":"integer","description":"Used when the specific customer is selected.","example":10},"branches":{"type":"array","items":{"type":"integer"},"example":[1259,58],"description":"Used when the event is aimed at specific site(s)/branch(es) of the customer"}},"x-nullable":true},"productId":{"type":"integer","description":"Used when the specific product/robot is selected.","x-nullable":true,"example":279},"description":{"type":"string","description":"A message to be sent to the customer as part of the event.","example":"Hello, we have noticed a phase failure on the robot. We recommend …"},"relatedEventId":{"type":"integer","description":"Used only when reopening a closed event. ID of the related event.","example":125}}},"EventPostResponse":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"ID of the newly created event.","example":1}}},"EventPut":{"allOf":[{"$ref":"#/definitions/EventPost"},{"type":"object","properties":{"internalNote":{"type":"string","x-nullable":true,"description":"Optional parameter. Used in case an internal note is attached to the event.Primarily to be used in a PUT request when modifying an event."},"expiresAt":{"type":"string","format":"date-time","x-nullable":true,"description":"Optional parameter. Used in case an expiration time is attached to the event. Primarily to be used in a PUT request when modifying an event.","example":"2022-07-18T00:00:00.000Z"}}}]},"User":{"type":"object","required":["id","fullname","firstname","surname","sex","cultureLCID","email","isInternalUser","isCustomerUser"],"properties":{"id":{"type":"integer","example":9348},"fullname":{"type":"string","example":"Aaron Parecki"},"firstname":{"type":"string","example":"Aaron"},"surname":{"type":"string","example":"Parecki"},"degree":{"type":"string","x-nullable":true,"example":null},"title":{"type":"string","x-nullable":true,"example":"demo user"},"sex":{"type":"integer","description":"byte - according ISO/IEC 5218"},"cultureLCID":{"type":"integer","description":"Language to be used while communicating with the user (UI, email, notifications, etc.)","example":1029},"phone":{"type":"string","description":"MSISDN incl. transition sign","example":"+420736101202"},"email":{"type":"string","example":"aaron.parecki@demo.com"},"isInternalUser":{"type":"boolean","description":"Boolean set depending on the user position. isInternal is by default set to True for ABB employees.","example":false},"isCustomerUser":{"type":"boolean","description":"Boolean set depending on the user position. isCustomer is by default set to True for ABB customers.","example":true}}},"Delegation":{"type":"object","required":["id","number","start","end"],"properties":{"id":{"type":"integer","example":150},"number":{"type":"string","example":"FS2170/02"},"start":{"type":"string","format":"date-time","example":"2022-07-18T00:00:00.000Z"},"end":{"type":"string","format":"date-time","example":"2022-07-25T00:00:00.000Z"},"user":{"$ref":"#/definitions/User"},"preparationDuration":{"type":"integer","description":"Number of minutes worked on the task.","example":60},"workDuration":{"type":"integer","description":"Number of minutes worked on the task.","example":180},"travellingDuration":{"type":"integer","description":"Number of minutes worked on the task.","example":180},"serviceReportFile":{"$ref":"#/definitions/Document"}}},"Document":{"type":"object","required":["filename","fileKey","size","createdAt"],"properties":{"filename":{"type":"string","example":"report.pdf"},"fileKey":{"type":"string","format":"UUID","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"size":{"type":"integer","description":"Size in bytes","example":12578},"createdAt":{"type":"string","format":"date-time"},"mimetype":{"type":"string","description":"Mime type of the file.","example":"application/pdf"},"creator":{"$ref":"#/definitions/User","x-nullable":true},"createdBy":{"type":"integer","description":"User ID of the creator.","x-nullable":true}}},"DocumentUpload":{"type":"object","required":["fileKey"],"properties":{"fileKey":{"type":"string","format":"UUID","example":"789e26f6-3a34-44e7-aaf9-ae80c19089a4"}}},"CaseSparePart":{"type":"object","required":["sparePart","deliveryType","createdAt","creator"],"properties":{"productId":{"type":"integer","description":"Highlighting what device the spare part has been used for.","example":5},"sparePart":{"type":"object","x-nullable":true,"required":["id","code"],"description":"Object describing the spare part used","properties":{"id":{"type":"integer","example":141},"code":{"type":"string","example":"CZ3HAC027697"},"type":{"type":"string","example":"Replacement filter - PC for IRC5","x-nullable":true}}},"offeredQuantity":{"type":"integer","example":5},"orderedQuantity":{"type":"integer","example":4},"usedQuantity":{"type":"integer","example":3},"invoicedQuantity":{"type":"integer","example":2},"notInvoicedQuantity":{"type":"integer","example":4},"deliveryType":{"type":"object","required":["id","name","sysName"],"description":"Object describing the delivery type","properties":{"id":{"type":"integer","example":2},"divisionId":{"type":"string","example":1},"name":{"type":"string","example":"Sklad Praha"},"sysName":{"type":"string","example":"WarehousePraha"}}},"createdAt":{"type":"string","format":"date-time"},"modifiedAt":{"type":"string","format":"date-time","x-nullable":true},"creator":{"$ref":"#/definitions/User"},"modifier":{"$ref":"#/definitions/User","x-nullable":true}}},"DeviceGenInfo":{"type":"object","required":["id","productTypeId","productType","uniqueCode","internalCode","warranty","remoteService","reqularMaintenancePerYear","isAgreed"],"properties":{"id":{"type":"integer","description":"Unique ID of a specific device","example":5},"customerId":{"type":"integer","description":"Unique ID of the customer the device belongs to.","example":5489},"branchId":{"type":"integer","description":"Unique ID of the branch the device belongs to.","x-nullable":true,"example":1},"productGroupId":{"type":"integer","description":"Unique ID of the product group. If ==null, then the device is \"without contract\". All devices \"under contract\" have a product group assigned.","example":2},"productTypeId":{"type":"integer","description":"Unique ID of the product type.\nSet to =1 for “Robot” type (all devices of Robotics are set as a robot). Device detail then includes information about ProductRobot and potentially others","example":1},"productType":{"type":"string","description":"Describes the given productTypeId","example":"robot"},"uniqueCode":{"type":"string","description":"Serial number of the device.","example":"2400-123450"},"internalCode":{"type":"string","description":"Specific local tag of the device","example":"AKSSII-2"},"manufactured":{"type":"string","format":"datetime","x-nullable":true,"example":"2022-02-05T00:01:01.000Z"},"warranty":{"type":"boolean","description":"Highlighting whether a warranty is active or not.","example":true},"warrantyFrom":{"type":"string","format":"datetime","x-nullable":true,"example":"2022-02-06T00:00:00.000Z"},"warrantyTo":{"type":"string","format":"datetime","x-nullable":true,"example":"2023-02-06T00:00:00.000Z"},"remoteService":{"type":"boolean","description":"Highlighting whether the device is subscribed to Connected services. If ==true, the device has Connected Services Active.","example":true},"remoteServiceTo":{"type":"string","format":"datetime","x-nullable":true,"example":"2032-02-06T00:00:00.000Z"},"regularMaintenancePerYear":{"type":"integer","description":"Number of preventive checks per year. If !=0, then the preventive check is done, i.e. filter \"Yes\", otherwise preventive check is to be filtered as \"No\".","example":2},"masterProductId":{"type":"integer","description":"Number of a superior device represented as a Control module in a MultiMove system. This robot (Drive Module) is connected to the given Control Module.\n0 = Robot not connected in a MultiMove system\n nr# = Superior control module ID","x-nullable":true,"example":1451},"slaveOrder":{"type":"integer","description":"A port (i.e. order) which is used to connect this robot (Drive Module) to a master (Control Module)","x-nullable":true,"example":1},"isAgreed":{"type":"boolean","description":"Describing whether a device is verified by ABB.\nNearly 100% of  devices are currently verified. An unverified device is a device added by a client, i.e. hasn’t been officially confirmed by ABB.\nCurrently not expected to be set to =False","example":true},"icon":{"type":"string","description":"Tag of the relevant icon - URL is accessible at /icons endpoint.","example":"IRC5Controller"}}},"DeviceDetailInfo":{"type":"object","required":["remoteServiceDeviceOwnedByCustomer","remoteServiceRequestForConnection","regularMaintenancePerYearPreferredMonths","regularMaintenancePerYearPerformed","phoneSupport","illegibleLabel","fullService","mechanicalUnits","slaveRobots"],"properties":{"contractAppendix":{"type":"string","description":"Additional information about the service contract","x-nullable":true},"type":{"type":"string","x-nullable":true,"example":"IRB 6700"},"application":{"type":"string","x-nullable":true,"example":"Palletization"},"remoteServiceConnectionLevel":{"type":"object","required":["name","sysName"],"properties":{"name":{"type":"string","example":"Connected Services"},"sysName":{"type":"string","example":"connectedServices"}}},"remoteServiceConnectionType":{"type":"object","required":["name","sysName"],"properties":{"name":{"type":"string","example":"Service Box 3G"},"sysName":{"type":"string","example":"serviceBox"}}},"remoteServiceDeviceOwnedByCustomer":{"type":"boolean","description":"Includes information whether the customer is subscribed to Connected Services"},"remoteServiceRequestForConnection":{"type":"boolean","description":"Includes whether there is any service request for connection","example":false},"regularMaintenancePerYearPreferredMonths":{"type":"array","description":"Preferred months for the regular maintenance.","items":{"type":"integer"},"example":[1,9,12]},"regularMaintenancePerYear":{"type":"integer","description":"Number of preventive checks per year.","example":2},"regularMaintenancePerYearPerformed":{"type":"integer","description":"Number of the regular maintenance checks performed in the current year.","example":1},"phoneSupport":{"type":"boolean","description":"Information whether the phone support is included."},"illegibleLabel":{"type":"boolean","description":"Information whether there is an illegible label."},"fullService":{"type":"boolean","description":"Information whether the full service is included."},"operatingHoursValue":{"type":"integer","description":"A number of motohours","x-nullable":true,"example":433730},"operatingHoursTimestamp":{"type":"string","format":"datetime","description":"A number when the last motohours data has been read out.","x-nullable":true,"example":"2022-11-16T09:23:00.000Z"},"customerNote":{"type":"string","x-nullable":true},"mechanicalUnits":{"type":"array","items":{"type":"object","required":["id","uniqueCode","warranty","type"],"properties":{"id":{"type":"integer","example":1251},"uniqueCode":{"type":"string","example":"6700-100231"},"manufactured":{"type":"string","format":"datetime","x-nullable":true,"example":"2022-02-05T00:01:01.000Z"},"warranty":{"type":"boolean","example":true},"warrantyFrom":{"type":"string","format":"datetime","x-nullable":true,"example":"2022-02-06T00:00:00.000Z"},"warrantyTo":{"type":"string","format":"datetime","x-nullable":true,"example":"2023-02-06T00:00:00.000Z"},"icon":{"type":"string","description":"Tag of the relevant icon - URL is accessible at /icons endpoint.","example":"IRC5Controller"},"type":{"type":"object","required":["name","sysName"],"properties":{"name":{"type":"string","example":"Manipulator"},"sysName":{"type":"string","example":"manipulator"}}}}}},"slaveRobots":{"type":"array","description":"Numbers of any slave robots connnected in MultiMove.","items":{"type":"integer"},"example":[2,3]},"externalInsurance":{"type":"object","required":["type","insuredFrom","insuredTo"],"properties":{"type":{"type":"object","required":["name","sysName"],"properties":{"name":{"type":"string","example":"Extended Warranty"},"sysName":{"type":"string","example":"extWarranty"}}},"insuredFrom":{"type":"string","format":"datetime","example":"2022-01-02"},"insuredTo":{"type":"string","format":"datetime","example":"2025-01-02"},"file":{"$ref":"#/definitions/Document"}}}}},"DeviceProductGroup":{"type":"object","required":["contract","serviceMissionTypes"],"properties":{"name":{"type":"string"},"contract":{"type":"object","required":["id","number"],"properties":{"id":{"type":"integer","example":21},"number":{"type":"string","example":"480000"}}},"serviceMissionTypes":{"type":"array","description":"Includes information about the guaranteed reactions","items":{"type":"object","required":["workingDayResponse","nonWorkingDayResponse","sysName"],"properties":{"workingDayResponse":{"type":"number","format":"float","example":10},"nonWorkingDayResponse":{"type":"number","format":"float","example":16},"name":{"type":"string","example":"Telefon"},"sysName":{"type":"string","example":"Phone"}}}}}},"DeviceBranchUser":{"type":"object","required":["users","order","description"],"properties":{"description":{"type":"string","description":"String describing the contacts array.","example":"Digital Service"},"order":{"type":"integer","example":1},"users":{"type":"array","items":{"type":"object","properties":{"user":{"$ref":"#/definitions/User"},"order":{"type":"integer"}}}}}},"Accessory":{"type":"object","required":["id","name","code","description","tags"],"properties":{"id":{"type":"integer","description":"ID of the selectted accessory","example":98},"name":{"type":"string","description":"Basic description of the item.","example":"Automatic Cable System - Flex PendantRetractable Cable"},"code":{"type":"string","description":"Serial number of the item","example":"3HAC010101-001"},"description":{"type":"string","description":"Detailed description of the item","example":"ABB’s FPRC is an automatic cable winding system for teach pendants. Spring driven, the system is fast and easy to maintain."},"specifications":{"type":"array","items":{"type":"object","required":["key","value","order"],"properties":{"key":{"type":"string"},"value":{"type":"string"},"order":{"type":"integer"}}},"example":[{"key":"width","value":"222 cm","order":1}]},"tags":{"type":"array","description":"List of tags for filtering","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"IRC5"}}}},"images":{"type":"array","description":"Images attached to the particular accessory","items":{"type":"object","required":["url","order"],"properties":{"url":{"type":"string","example":"http://downloads.test.com/5774/flexCable_IRC5.png"},"order":{"type":"integer","example":1}}}},"files":{"$ref":"#/definitions/Document"}}},"AccessoryTags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the tag."}}}},"AccessoryAdmin":{"allOf":[{"$ref":"#/definitions/Accessory"},{"type":"object","required":["isVisible"],"properties":{"isVisible":{"type":"boolean","description":"Boolean. Defined if the accessory is visible in a list as Active or Draft.<br> - true = Accessory in Active section<br> - false or null = Accessory in Draft section","example":true}}}]},"AccessoryAdminPut":{"type":"object","required":["name","code","description","tags","isVisible"],"properties":{"name":{"type":"string","description":"Basic description of the item.","example":"Automatic Cable System - Flex PendantRetractable Cable"},"code":{"type":"string","description":"Serial number of the item","example":"3HAC010101-001"},"description":{"type":"string","description":"Detailed description of the item","example":"ABB’s FPRC is an automatic cable winding system for teach pendants. Spring driven, the system is fast and easy to maintain."},"specifications":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"},"order":{"type":"integer"}}},"example":[{"key":"width","value":"222 cm","order":1}]},"tags":{"type":"array","description":"List of tags for filtering","items":{"type":"object","properties":{"name":{"type":"string","example":"IRC5"}}}},"isVisible":{"type":"boolean","description":"Boolean. Defined if the accessory is visible in a list as Active or Draft.<br> - true = Accessory in Active section<br> - false or null = Accessory in Draft section","example":true}}},"AccessoryAdminPost":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"ID of the newly created accessory.","example":1}}},"AccessoryInquiry":{"type":"object","required":["number","createdAt","creator","baseStatus","items"],"properties":{"customerNote":{"type":"string","description":"Additional text attached by the user","example":"Prosím o cenovou nabídku","x-nullable":true},"number":{"type":"string","description":"Describing the inquiry","example":"22ASDF1234"},"createdAt":{"type":"string","format":"datetime","example":"2022-08-04T09:40:10.010Z"},"creator":{"$ref":"#/definitions/User"},"offerSentAt":{"type":"string","format":"datetime","example":"2022-08-07T08:45:12.511Z","x-nullable":true},"offerSentBy":{"type":"integer","x-nullable":true},"offerSentByUser":{"$ref":"#/definitions/User","x-nullable":true},"offerSentTo":{"type":"integer","x-nullable":true},"offerSentToUser":{"$ref":"#/definitions/User","x-nullable":true},"items":{"type":"array","items":{"type":"object","description":"Items included in the inquiry","properties":{"accessory":{"$ref":"#/definitions/Accessory"},"accessoryId":{"type":"integer","example":98},"quantity":{"type":"integer","example":1}}}},"baseStatus":{"type":"string","enum":["New","Offered"],"example":"Offered"}}},"AccessoryInquiryAdmin":{"allOf":[{"$ref":"#/definitions/AccessoryInquiry"},{"type":"object","required":["customer"],"properties":{"id":{"type":"integer","example":559},"internalNote":{"type":"string","description":"A note written in the form by the user (admin).","x-nullable":true,"example":"Peter is handling the case. Quote sent."},"externalNumber":{"type":"string","description":"The external number of the inquiry.","example":"a35525"},"SAPNumber":{"type":"string","description":"The SAP number of the inquiry.","example":"145545bc"},"customer":{"$ref":"#/definitions/Customer"},"branch":{"$ref":"#/definitions/Branch"}}}]},"AccessoryInquiryPost":{"type":"object","required":["items"],"properties":{"customerNote":{"type":"string","description":"Optional customer's attached note.","example":"I'm requesting 3 pieces.","x-nullable":true},"items":{"type":"array","items":{"type":"object","required":["accessoryId","quantity"],"properties":{"accessoryId":{"type":"integer","description":"ID of the selected accessory.","example":154},"quantity":{"type":"integer","example":1}}}},"branchId":{"type":"integer","description":"Used in case a specific branch is selected for the inquiry.","x-nullable":true,"example":5}}},"AccessoryInquiryPatch":{"type":"object","properties":{"internalNote":{"type":"string","description":"A note written in the form by the user.","example":"Inquiry processed by myself."},"baseStatus":{"type":"string","description":"Changed to “Offered” when used.","enum":["New","Offered"]},"offerSentToUserId":{"type":"integer","description":"Selected as per the contacts received with a request defined in this user story. Used only when baseStatus is set to Offered.","example":1529},"externalNumber":{"type":"string","description":"An external number related to the request can be sent.","x-nullable":true},"SAPNumber":{"type":"string","description":"A SAP number related to the request can be sent.","x-nullable":true}}},"AccessoryFilePatch":{"type":"object","properties":{"order":{"type":"integer","description":"Updated order of the file.","example":2},"fileKey":{"type":"string","format":"UUID","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}}},"ServiceRequestAdmin":{"type":"object","required":["id","eventId","createdAt","creator","baseStatus","number"],"properties":{"id":{"type":"integer","example":4574},"eventId":{"type":"integer","example":478},"externalNote":{"type":"string","description":"String of the note for the customer.","example":"Hello, this is a request for you."},"number":{"type":"string","description":"The internal number of the inquiry.","example":155843},"createdAt":{"type":"string","format":"datetime","example":"2022-08-04T09:40:10.010Z"},"creator":{"$ref":"#/definitions/User"},"modifiedAt":{"type":"string","format":"datetime","x-nullable":true,"example":"2022-08-04T11:45:15.110Z"},"modifier":{"$ref":"#/definitions/User","x-nullable":true},"baseStatus":{"type":"string","enum":["New","HandedOverForService","SolvedByDigitalService","CustomerRepair","Canceled"],"example":"HandedOverForService"}}},"ServiceRequestPatch":{"type":"object","properties":{"internalNote":{"type":"string","description":"A note written in the form by the user.","example":"Inquiry processed by myself."},"baseStatus":{"type":"string","description":"Changed to “Offered” when used.","enum":["New","HandedOverForService","SolvedByDigitalService","CustomerRepair","Canceled"]},"relatedCaseNumber":{"type":"string","description":"Case number.","example":1352,"x-nullable":true},"externalNumber":{"type":"string","description":"An external number - \"SDFC Opportunity\". Related to the request can be sent. The external number of the service request. Used only in case baseStatus is chosen as HandedOverForService.","x-nullable":true},"SAPNumber":{"type":"string","description":"A SAP number related to the request can be sent.","x-nullable":true},"externalNote":{"type":"string","description":"String of the note for the customer. Related to the closing request.","x-nullable":true}}},"ChatThread":{"type":"object","required":["id","category","createdAt","customerId","name","creator"],"properties":{"eventId":{"type":"integer","description":"A unique ID of the specific event the thread is assigned to.","example":10},"branchId":{"type":"integer","description":"A unique ID of the specific branch the thread is assigned to."},"categoryId":{"type":"integer","example":2},"createdAt":{"type":"string","format":"datetime","example":"2022-08-04T09:40:10.010Z"},"closedAt":{"type":"string","format":"datetime","example":"2022-08-09T14:00:11.002Z","x-nullable":true},"id":{"type":"integer","description":"The Unique ID of the chat thread.","example":156789},"category":{"type":"object","description":"Describes the particular category (error, hotline, news, information)","required":["id","name","sysName","workingDayOpenFrom","workingDayOpenTo","nonWorkingDayOpenFrom","nonWorkingDayOpenTo","visibility"],"properties":{"id":{"type":"integer","example":1},"name":{"type":"string","example":"Connected service error"},"sysName":{"type":"string","example":"error"},"workingDayOpenFrom":{"type":"string","format":"time","example":"08:00:00"},"workingDayOpenTo":{"type":"string","format":"time","example":"16:00:00"},"nonWorkingDayOpenFrom":{"type":"string","format":"time","example":"09:00:00"},"nonWorkingDayOpenTo":{"type":"string","format":"time","example":"15:00:00"},"visibility":{"type":"string","enum":["CustomerOnly","Public"],"example":"Public"}}},"customerId":{"type":"integer","description":" unique ID of the customer, i.e. the ID of the customer the chat belongs to","example":111},"divisionId":{"type":"integer","description":" unique ID of the division, i.e. the ID of the division the chat belongs to","example":1,"x-nullable":true},"name":{"type":"string","description":"Code highlighting the name of the chat thread. Code highlighting the name of the chat thread. Generally, it should match the name of the event.","example":"Phase failure"},"subName":{"type":"string","description":"Local code of the device related to the event.","example":"AKKSII-2","x-nullable":true},"unreadMessagesCount":{"type":"integer","description":"Number of unread messages in the thread.","example":1},"lastMessage":{"type":"object","description":"Last message received in the thread.","$ref":"#/definitions/ChatMessage"},"creator":{"$ref":"#/definitions/User"},"closedByUser":{"$ref":"#/definitions/User","x-nullable":true}}},"ChatThreadPost":{"type":"object","required":["customerId","categoryId","name"],"properties":{"customerId":{"type":"integer","description":"ID of the customer related to the chat.","example":5416},"categoryId":{"type":"integer","description":"Category of the event related to the chat.","example":3},"name":{"type":"string","description":"Nmae of the created chat.","example":"Phase failure"},"subname":{"type":"string","description":"Local code of the device related to the event.","example":"AKKSII-2","x-nullable":true}}},"ChatMessage":{"type":"object","required":["id","chatId","createdAt","creator"],"properties":{"id":{"type":"integer","description":"An ID of the message.","example":2059590},"chatId":{"type":"integer","description":"An ID of the chat thread.","example":1111},"createdAt":{"type":"string","format":"datetime","example":"2022-08-04T09:40:10.010Z"},"creator":{"$ref":"#/definitions/User"},"text":{"type":"string","example":"Hello, I am contacting you because of …","x-nullable":true},"reads":{"type":"array","items":{"type":"object","properties":{"user":{"$ref":"#/definitions/User"},"timestamp":{"type":"string","format":"datetime","example":"2022-08-04T09:47:15.005Z"}}}},"files":{"type":"array","items":{"$ref":"#/definitions/Document"}},"thumbnails":{"type":"array","description":"Thumbnails of images or videos attached to the particular message. Empty if no thumbnail is available","items":{"type":"object","properties":{"fileKey":{"type":"string","format":"uuid","description":"UUID of the file the thumbnail belongs to.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"dataURI":{"type":"string","description":"Included a type of the thumbnail and base64 encoded data.","example":"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII"}}}}}},"CaseStatus":{"type":"object","required":["baseStatus","timestamp"],"properties":{"baseStatus":{"type":"string","enum":["NewCase","OfferedCase","ToBeRealizedCase","DelegatedCase","ReviewBeforeInvoicingCase","ToBeInvoicedCase","CompletedCase","CanceledCase"]},"timestamp":{"type":"string","description":"Time when status was created.","format":"datetime"},"user":{"description":"User responsible for changing the status.","$ref":"#/definitions/User","x-nullable":true},"userId":{"description":"User ID.","type":"integer"}}},"Settings-contacts":{"type":"object","required":["key"],"properties":{"key":{"type":"string","example":"Infoservice.Contacts"},"value":{"type":"string","description":"Serialized JSON is returned for the specific key. The value is the string defined when updating the contacts. The string can be any arbitrary text. <br> In case value = null, the empty section is displayed in the UI.","example":"{ \"title\": \"Do you need to repair an ABB robot?\", \"department\": \"Service Department\", \"phone\": \"+420731001002\", \"visibleCallButton\": true, \"email\": \"robot.servic@cz.abb.com\", \"workingHours\": \"Mo - Fr 8.00 - 16.30\" }","x-nullable":true}}},"LoginRequest":{"type":"object","required":["grant_type","username","password"],"properties":{"grant_type":{"type":"string","description":"Specified as “password” for this flow.","default":"password"},"scope":{"type":"string","description":"Not required. The data your application is requesting access to."},"client_id":{"type":"string","format":"UUID","description":"Not required. The value representing the application."},"client_secret":{"type":"string","format":"UUID","description":"The value provided to you when you registered your application. While the name of this parameter implies that the value is secret, it is sometimes required by API providers for nonconfidential clients such as native mobile applications. In these cases, the value is not actually a secret, as it could be discovered by users of the application."},"username":{"type":"string","description":"The username provided by the resource owner, encoded as UTF-8."},"password":{"type":"string","description":"The password provided by the resource owner, encoded as UTF-8."}}},"LoginResponse":{"type":"object","required":["token_type","issuedAt","accessToken","divisions","languages","user"],"properties":{"token_type":{"type":"string","example":"Bearer"},"issuedAt":{"type":"string","format":"date-time","description":"The time the token was generated.","example":"2022-10-07T16:18:23.341Z"},"accessToken":{"type":"string","format":"UUID","description":"The access token used to access the API on behalf of the user who provided their credentials.","example":"e03e9ca5-6adb-4dc9-8c7b-dc2967a0f4bf"},"divisions":{"type":"array","description":"Contains information about the specific division(s) the user belongs to.","items":{"type":"object","properties":{"id":{"type":"integer","example":1},"name":{"type":"string","example":"Robotics"},"sysName":{"type":"string","example":"CZ_Robotics"},"isDefault":{"type":"boolean","description":"highlighting whether the division is set as Default for the user","example":true}}}},"languages":{"type":"array","description":"Contains information about the localization for the current user","items":{"type":"object","properties":{"id":{"type":"integer","description":"LCID type","example":1029},"name":{"type":"string","example":"Čeština"},"isDefault":{"type":"boolean","description":"Highlighting the user’s preferred UI language.","example":true}}}},"user":{"$ref":"#/definitions/User"},"internalUser":{"type":"object","properties":{"signature":{"type":"string","format":"base64","description":"base64 encoded picture of a signature"}},"x-nullable":true,"default":null},"customerUser":{"type":"object","properties":{"customers":{"type":"array","description":"Used only in case one user can represent multiple clients. In the majority of cases only one object will be returned","items":{"$ref":"#/definitions/Customer"}},"defaultBranches":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"integer","example":5656},"name":{"type":"string","example":"Beroun"}}}}}}}},"Customer":{"type":"object","required":["id","name","branches"],"properties":{"id":{"type":"integer","example":5416},"name":{"type":"string","example":"AXIOM DEMO"},"branches":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"integer","example":5656},"name":{"type":"string","example":"Beroun"}}}}}},"KeyValueBoolPair":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"Arbitraty key value.","example":"Infoservice.Customer.Events"},"value":{"type":"boolean","example":true}}},"KeyUrlPair":{"type":"object","required":["key","url"],"properties":{"key":{"type":"string","description":"Icon name - string","example":"IRC5Controller"},"url":{"type":"string","description":"URL of the icon","example":"http://downloads.test.com/5774/icons/robotAKSII.jpg"}}},"Notification":{"type":"object","required":["token","type"],"properties":{"token":{"type":"string","description":"Push notifications token issued.","example":"cR1rjyj4_Kc:APA91bGusqbypSuMdsh7jSNrW4nzsM"},"type":{"type":"string","description":"Not expected to be used (set by default to “fcm”). Values can be “apns” / “fcm” / \"webpush\".","example":"fcm"}}}}}