Nápověda

List work orders (combined preventive and reactive work).

List work orders (combined preventive and reactive work).

GET
/work-orders

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Query Parameters

$search?string
states?array<>
assetIds?array<>
topAssetIds?array<>
$filter?string
$orderby?string
$select?string
$expand?string
$count?boolean
$top?integer

Page size. Host OData:MaxTop is 10000.

Range0 <= value <= 10000
$skip?integer
Range0 <= value

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

WorkOrder

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/work-orders" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "value": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",      "type": "Inspection",      "subject": "string",      "state": "Open",      "workRule": {        "name": "string",        "team": {          "company": {            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "description": "string",          "areMembersTicketFollowers": true,          "notifyMembersAboutInspections": true,          "membersCount": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "worker": {          "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",          "userName": "string",          "person": {            "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",            "firstName": "string",            "lastName": "string",            "company": {              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",          "tenantUser": {            "isAppUser": true,            "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",            "company": {              "roles": [                "Manufacturer"              ],              "identificationNumber": "string",              "emailAddress": "string",              "phoneNumber": "string",              "address": {                "streetAddress1": "string",                "streetAddress2": "string",                "streetAddress3": "string",                "city": "string",                "cityDistrict": "string",                "postalCode": "string",                "coordinates": {                  "latitude": "string",                  "longitude": "string"                },                "countryCode": "string"              },              "extensionValues": {},              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "isSoftDeleted": true,          "sortableFullName": "string",          "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "facilityRole": {          "targets": [            {              "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",              "isRequired": true            }          ],          "code": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "team": {        "company": {          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "description": "string",        "areMembersTicketFollowers": true,        "notifyMembersAboutInspections": true,        "membersCount": "string",        "name": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "solver": {        "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",        "userName": "string",        "person": {          "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",          "firstName": "string",          "lastName": "string",          "company": {            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",        "tenantUser": {          "isAppUser": true,          "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",          "company": {            "roles": [              "Manufacturer"            ],            "identificationNumber": "string",            "emailAddress": "string",            "phoneNumber": "string",            "address": {              "streetAddress1": "string",              "streetAddress2": "string",              "streetAddress3": "string",              "city": "string",              "cityDistrict": "string",              "postalCode": "string",              "coordinates": {                "latitude": "string",                "longitude": "string"              },              "countryCode": "string"            },            "extensionValues": {},            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "isSoftDeleted": true,        "sortableFullName": "string",        "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "scheduledDate": null,      "calendarDate": null,      "resolutionDate": null,      "locality": {        "region": {          "code": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "customer": {          "roles": [            "Manufacturer"          ],          "identificationNumber": "string",          "emailAddress": "string",          "phoneNumber": "string",          "address": {            "streetAddress1": "string",            "streetAddress2": "string",            "streetAddress3": "string",            "city": "string",            "cityDistrict": "string",            "postalCode": "string",            "coordinates": {              "latitude": "string",              "longitude": "string"            },            "countryCode": "string"          },          "extensionValues": {},          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "code": "string",        "name": "string",        "note": "string",        "address": {          "streetAddress1": "string",          "streetAddress2": "string",          "streetAddress3": "string",          "city": "string",          "cityDistrict": "string",          "postalCode": "string",          "coordinates": {            "latitude": "string",            "longitude": "string"          },          "countryCode": "string"        },        "levelEntityCategoryId": "32f29979-b26a-4b9a-aa34-af49e6995ee1",        "levelEntityCategory": {          "code": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "extensionValues": {},        "creationDate": "2019-08-24T14:15:22Z",        "lastChangeDate": "2019-08-24T14:15:22Z",        "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "ticket": {        "locality": {          "region": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "customer": {            "roles": null,            "identificationNumber": "string",            "emailAddress": "string",            "phoneNumber": "string",            "address": null,            "extensionValues": null,            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "code": "string",          "name": "string",          "note": "string",          "address": {            "streetAddress1": "string",            "streetAddress2": "string",            "streetAddress3": "string",            "city": "string",            "cityDistrict": "string",            "postalCode": "string",            "coordinates": null,            "countryCode": "string"          },          "levelEntityCategoryId": "32f29979-b26a-4b9a-aa34-af49e6995ee1",          "levelEntityCategory": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "extensionValues": {},          "creationDate": "2019-08-24T14:15:22Z",          "lastChangeDate": "2019-08-24T14:15:22Z",          "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "building": {          "localityLevelId": "a3ca59ac-ee9b-4aaf-954d-c40fd62d0cbe",          "localityLevel": {            "name": "string",            "abbreviation": "string",            "order": "string",            "levelEntityId": "61a942e1-60ef-4aab-ac7c-da59bfb99a0c",            "levelEntityName": "string",            "levelEntityCode": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "locality": {            "region": {              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "customer": {              "roles": null,              "identificationNumber": "string",              "emailAddress": "string",              "phoneNumber": "string",              "address": null,              "extensionValues": null,              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "code": "string",            "name": "string",            "note": "string",            "address": {              "streetAddress1": "string",              "streetAddress2": "string",              "streetAddress3": "string",              "city": "string",              "cityDistrict": "string",              "postalCode": "string",              "coordinates": null,              "countryCode": "string"            },            "levelEntityCategoryId": "32f29979-b26a-4b9a-aa34-af49e6995ee1",            "levelEntityCategory": {              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "extensionValues": {},            "creationDate": "2019-08-24T14:15:22Z",            "lastChangeDate": "2019-08-24T14:15:22Z",            "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",          "energyLabel": "A",          "yearOfApproval": "string",          "bimImageId": "d9dd108a-72b3-4edb-84c4-76588e0fb993",          "imageDocumentId": "1f33723c-e634-4c59-ba94-665409ba975b",          "floorArea": "string",          "usableArea": "string",          "levelsCount": "string",          "code": "string",          "name": "string",          "note": "string",          "address": {            "streetAddress1": "string",            "streetAddress2": "string",            "streetAddress3": "string",            "city": "string",            "cityDistrict": "string",            "postalCode": "string",            "coordinates": {              "latitude": "string",              "longitude": "string"            },            "countryCode": "string"          },          "levelEntityCategoryId": "32f29979-b26a-4b9a-aa34-af49e6995ee1",          "levelEntityCategory": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "extensionValues": {},          "creationDate": "2019-08-24T14:15:22Z",          "lastChangeDate": "2019-08-24T14:15:22Z",          "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "level": {          "name": "string",          "abbreviation": "string",          "order": "string",          "levelEntityId": "61a942e1-60ef-4aab-ac7c-da59bfb99a0c",          "levelEntityName": "string",          "levelEntityCode": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "space": {          "note": "string",          "locality": {            "region": {              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "customer": {              "roles": null,              "identificationNumber": "string",              "emailAddress": "string",              "phoneNumber": "string",              "address": null,              "extensionValues": null,              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "code": "string",            "name": "string",            "note": "string",            "address": {              "streetAddress1": "string",              "streetAddress2": "string",              "streetAddress3": "string",              "city": "string",              "cityDistrict": "string",              "postalCode": "string",              "coordinates": null,              "countryCode": "string"            },            "levelEntityCategoryId": "32f29979-b26a-4b9a-aa34-af49e6995ee1",            "levelEntityCategory": {              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "extensionValues": {},            "creationDate": "2019-08-24T14:15:22Z",            "lastChangeDate": "2019-08-24T14:15:22Z",            "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "levelEntity": {            "code": "string",            "name": "string",            "note": "string",            "address": {              "streetAddress1": "string",              "streetAddress2": "string",              "streetAddress3": "string",              "city": "string",              "cityDistrict": "string",              "postalCode": "string",              "coordinates": {                "latitude": "string",                "longitude": "string"              },              "countryCode": "string"            },            "levelEntityCategoryId": "32f29979-b26a-4b9a-aa34-af49e6995ee1",            "levelEntityCategory": {              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "extensionValues": {},            "creationDate": "2019-08-24T14:15:22Z",            "lastChangeDate": "2019-08-24T14:15:22Z",            "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "level": {            "name": "string",            "abbreviation": "string",            "order": "string",            "levelEntityId": "61a942e1-60ef-4aab-ac7c-da59bfb99a0c",            "levelEntityName": "string",            "levelEntityCode": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "spaceUsage": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "spaceCategory": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "occupantCompany": {            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "imageDocumentId": "1f33723c-e634-4c59-ba94-665409ba975b",          "bimImageId": "d9dd108a-72b3-4edb-84c4-76588e0fb993",          "creationDate": "2019-08-24T14:15:22Z",          "lastChangeDate": "2019-08-24T14:15:22Z",          "code": "string",          "name": "string",          "area": "string",          "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",          "levelEntityId": "61a942e1-60ef-4aab-ac7c-da59bfb99a0c",          "levelId": "a70368c7-b12e-43a9-9830-ab2485710b95",          "levelOrder": "string",          "spaceCategoryId": "809d6029-69b4-43c2-a738-11abe5eaf804",          "spaceUsageId": "d6520f10-7407-4215-bcb1-1c0a4f626f2a",          "locationType": "BuildingSpace",          "spaceOccupancyType": "Common",          "commonCostAllocationBasis": "Building",          "doorNumber": "string",          "extensionValues": {},          "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "asset": {          "code": "string",          "name": "string",          "typeName": "string",          "manufacturerName": "string",          "serialNumber": "string",          "registrationNumber": "string",          "assetType": {            "displayStyleName": "string",            "isHidden": true,            "selfAndAllParentIds": [              "32e490ae-cf06-4c84-ac7d-cdc788303a4e"            ],            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",          "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",          "parentAssetId": "393bf9f5-484e-4036-a332-e8890cfb10d2",          "topLevelAssetId": "08d1794f-a31b-4e14-b3eb-894b044c9cef",          "assetTypeOptionIds": [            "40c653fd-6987-438f-a2d2-ccdc1954fa8d"          ],          "optionSetValidity": "Valid",          "yearOfManufacture": "string",          "commissioningDate": null,          "lastCommissioningDate": null,          "count": "string",          "state": "Draft",          "assetKind": "Line",          "assetGroupIds": [            "8da01877-f9bc-4850-bad0-015de5d25ce0"          ],          "extensionValues": {},          "creationDate": "2019-08-24T14:15:22Z",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "topAsset": {          "code": "string",          "name": "string",          "typeName": "string",          "manufacturerName": "string",          "serialNumber": "string",          "registrationNumber": "string",          "assetType": {            "displayStyleName": "string",            "isHidden": true,            "selfAndAllParentIds": [              "32e490ae-cf06-4c84-ac7d-cdc788303a4e"            ],            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",          "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",          "parentAssetId": "393bf9f5-484e-4036-a332-e8890cfb10d2",          "topLevelAssetId": "08d1794f-a31b-4e14-b3eb-894b044c9cef",          "assetTypeOptionIds": [            "40c653fd-6987-438f-a2d2-ccdc1954fa8d"          ],          "optionSetValidity": "Valid",          "yearOfManufacture": "string",          "commissioningDate": null,          "lastCommissioningDate": null,          "count": "string",          "state": "Draft",          "assetKind": "Line",          "assetGroupIds": [            "8da01877-f9bc-4850-bad0-015de5d25ce0"          ],          "extensionValues": {},          "creationDate": "2019-08-24T14:15:22Z",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "assetCount": "string",        "assetGroup": {          "name": "string",          "description": "string",          "styleName": "string",          "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",          "locality": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "isFavorite": true,          "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "mapGraphicObject": {          "type": "Unassigned",          "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",          "buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7",          "levelId": "a70368c7-b12e-43a9-9830-ab2485710b95",          "levelEntityId": "61a942e1-60ef-4aab-ac7c-da59bfb99a0c",          "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",          "entityClassId": "b29c744e-f779-4216-ac53-e984614ae1c3",          "borders": {},          "boundingBox": {},          "naturalBearingRad": "string",          "sourceId": "797f5a94-3689-4ac8-82fd-d749511ea2b2",          "handle": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "expectedResolutionDate": null,        "submitter": {          "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",          "userName": "string",          "person": {            "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",            "firstName": "string",            "lastName": "string",            "company": {              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",          "tenantUser": {            "isAppUser": true,            "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",            "company": {              "roles": [                "Manufacturer"              ],              "identificationNumber": "string",              "emailAddress": "string",              "phoneNumber": "string",              "address": {                "streetAddress1": "string",                "streetAddress2": "string",                "streetAddress3": "string",                "city": "string",                "cityDistrict": "string",                "postalCode": "string",                "coordinates": {                  "latitude": "string",                  "longitude": "string"                },                "countryCode": "string"              },              "extensionValues": {},              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "isSoftDeleted": true,          "sortableFullName": "string",          "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "submitterId": "98956193-18f7-4744-bbec-b3e7fff4bef4",        "submitterEmailAddress": "string",        "workRule": {          "reactionTimes": {            "reopenTimeHours": "string",            "responseTimeHours": "string",            "resolveTimeHours": "string"          },          "name": "string",          "team": {            "company": {              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "description": "string",            "areMembersTicketFollowers": true,            "notifyMembersAboutInspections": true,            "membersCount": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "worker": {            "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",            "userName": "string",            "person": {              "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",              "firstName": "string",              "lastName": "string",              "company": {                "name": "string",                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"              },              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",            "tenantUser": {              "isAppUser": true,              "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",              "company": {                "roles": [                  "Manufacturer"                ],                "identificationNumber": "string",                "emailAddress": "string",                "phoneNumber": "string",                "address": {                  "streetAddress1": "string",                  "streetAddress2": "string",                  "streetAddress3": "string",                  "city": "string",                  "cityDistrict": "string",                  "postalCode": "string",                  "coordinates": {                    "latitude": "string",                    "longitude": "string"                  },                  "countryCode": "string"                },                "extensionValues": {},                "name": "string",                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"              },              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "isSoftDeleted": true,            "sortableFullName": "string",            "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "facilityRole": {            "targets": [              {                "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",                "isRequired": true              }            ],            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "team": {          "company": {            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "description": "string",          "areMembersTicketFollowers": true,          "notifyMembersAboutInspections": true,          "membersCount": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "solver": {          "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",          "userName": "string",          "person": {            "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",            "firstName": "string",            "lastName": "string",            "company": {              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",          "tenantUser": {            "isAppUser": true,            "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",            "company": {              "roles": [                "Manufacturer"              ],              "identificationNumber": "string",              "emailAddress": "string",              "phoneNumber": "string",              "address": {                "streetAddress1": "string",                "streetAddress2": "string",                "streetAddress3": "string",                "city": "string",                "cityDistrict": "string",                "postalCode": "string",                "coordinates": {                  "latitude": "string",                  "longitude": "string"                },                "countryCode": "string"              },              "extensionValues": {},              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "isSoftDeleted": true,          "sortableFullName": "string",          "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "solverId": "215539d0-87f9-4694-804b-08fccd761ff8",        "priority": {          "name": "string",          "severity": "string",          "isBlocker": true,          "ticketClassId": "03bdc7cc-714a-4b68-8cf3-31996c553b26",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "portalTicketType": {          "name": "string",          "description": "string",          "instruction": "string",          "iconName": "string",          "colorName": "string",          "order": "string",          "isArchived": true,          "ticketType": {            "name": "string",            "ticketClassId": "03bdc7cc-714a-4b68-8cf3-31996c553b26",            "iconName": "string",            "colorName": "string",            "ticketWorkflowId": "16d14ac3-8b02-4f43-8071-dd98304924ed",            "extensionAttributeDefinitions": [              {                "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb",                "required": true              }            ],            "defaultStatus": "Down",            "defaultReason": "Failure",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "category": {            "name": "string",            "description": "string",            "iconName": "string",            "colorName": "string",            "order": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "workEstimate": null,        "resolutionDate": null,        "lastChangeDate": "2019-08-24T14:15:22Z",        "assetOutOfServiceFrom": null,        "assetOutOfServiceTo": null,        "failureCodeId": "ec0e5ef0-9073-49cd-9bd4-e3cb4a250f02",        "failureCauseId": "2214db6a-a3bf-4db4-ae75-323956f1dab4",        "failureRemedyId": "30d3d0ed-fed3-4156-a55c-4ddf60117eba",        "downtimeStatus": "Down",        "downtimeReason": "Failure",        "extensionValues": {},        "approvers": [          {            "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",            "userName": "string",            "person": {              "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",              "firstName": "string",              "lastName": "string",              "company": {                "name": "string",                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"              },              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",            "tenantUser": {              "isAppUser": true,              "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",              "company": {                "roles": [                  "Manufacturer"                ],                "identificationNumber": "string",                "emailAddress": "string",                "phoneNumber": "string",                "address": {                  "streetAddress1": "string",                  "streetAddress2": "string",                  "streetAddress3": "string",                  "city": "string",                  "cityDistrict": "string",                  "postalCode": "string",                  "coordinates": {                    "latitude": "string",                    "longitude": "string"                  },                  "countryCode": "string"                },                "extensionValues": {},                "name": "string",                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"              },              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "isSoftDeleted": true,            "sortableFullName": "string",            "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          }        ],        "ticketChannel": {          "name": "string",          "isEnabled": true,          "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "portal": {          "description": "string",          "companyName": "string",          "isEnabled": true,          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "ticketTimes": {          "totalTime": null,          "reactionTime": "string",          "inProgressTime": "string",          "openTime": "string",          "interruptedTime": "string",          "worklogTime": "string"        },        "code": "string",        "subject": "string",        "description": "string",        "state": {          "workflowId": "43c4fa9b-0cbc-4b57-a121-9d7d46a3eaa4",          "isDefaultForStateGroup": true,          "name": "string",          "stateGroupId": "0f7c32d9-684f-459f-91fa-95c70d9393c1",          "isApproval": true,          "isWorkOrder": true,          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "ticketType": {          "name": "string",          "ticketClassId": "03bdc7cc-714a-4b68-8cf3-31996c553b26",          "iconName": "string",          "colorName": "string",          "ticketWorkflowId": "16d14ac3-8b02-4f43-8071-dd98304924ed",          "extensionAttributeDefinitions": [            {              "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb",              "required": true            }          ],          "defaultStatus": "Down",          "defaultReason": "Failure",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "reportDate": "2019-08-24T14:15:22Z",        "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "inspection": {        "dateSortable": "2019-08-24",        "team": {          "company": {            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "description": "string",          "areMembersTicketFollowers": true,          "notifyMembersAboutInspections": true,          "membersCount": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "solver": {          "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",          "userName": "string",          "person": {            "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",            "firstName": "string",            "lastName": "string",            "company": {              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",          "tenantUser": {            "isAppUser": true,            "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",            "company": {              "roles": [                "Manufacturer"              ],              "identificationNumber": "string",              "emailAddress": "string",              "phoneNumber": "string",              "address": {                "streetAddress1": "string",                "streetAddress2": "string",                "streetAddress3": "string",                "city": "string",                "cityDistrict": "string",                "postalCode": "string",                "coordinates": {                  "latitude": "string",                  "longitude": "string"                },                "countryCode": "string"              },              "extensionValues": {},              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "isSoftDeleted": true,          "sortableFullName": "string",          "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "supplier": {          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "inspectionSeries": {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "name": "string",          "isDefault": true,          "locality": {            "region": {              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "customer": {              "roles": null,              "identificationNumber": "string",              "emailAddress": "string",              "phoneNumber": "string",              "address": null,              "extensionValues": null,              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "code": "string",            "name": "string",            "note": "string",            "address": {              "streetAddress1": "string",              "streetAddress2": "string",              "streetAddress3": "string",              "city": "string",              "cityDistrict": "string",              "postalCode": "string",              "coordinates": null,              "countryCode": "string"            },            "levelEntityCategoryId": "32f29979-b26a-4b9a-aa34-af49e6995ee1",            "levelEntityCategory": {              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "extensionValues": {},            "creationDate": "2019-08-24T14:15:22Z",            "lastChangeDate": "2019-08-24T14:15:22Z",            "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "regulation": {            "kind": "Inspection",            "norm": "string",            "validFrom": null,            "validTo": null,            "regulationSet": {              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "regulationDomain": {              "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",              "iconName": "string",              "colorName": "string",              "names": {                "property1": "string",                "property2": "string"              },              "code": "string",              "name": "string",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"            },            "checklistIds": [              "fe7e5749-9ad2-4b49-bdef-d971d8430447"            ],            "inspectionTypeIds": [              "4d6917f4-fc40-4351-9683-ab7a3cbd1cbf"            ],            "creationDate": "2019-08-24T14:15:22Z",            "lastChangeDate": "2019-08-24T14:15:22Z",            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "assetIds": [            "96fa1cd8-4f1c-475e-ac07-c52694e711b7"          ],          "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969"        },        "assetIds": [          "96fa1cd8-4f1c-475e-ac07-c52694e711b7"        ],        "commonAssetTypeAncestor": {          "displayStyleName": "string",          "isHidden": true,          "selfAndAllParentIds": [            "32e490ae-cf06-4c84-ac7d-cdc788303a4e"          ],          "code": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "assetCount": "string",        "firstAsset": {          "code": "string",          "name": "string",          "typeName": "string",          "manufacturerName": "string",          "serialNumber": "string",          "registrationNumber": "string",          "assetType": {            "displayStyleName": "string",            "isHidden": true,            "selfAndAllParentIds": [              "32e490ae-cf06-4c84-ac7d-cdc788303a4e"            ],            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",          "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",          "parentAssetId": "393bf9f5-484e-4036-a332-e8890cfb10d2",          "topLevelAssetId": "08d1794f-a31b-4e14-b3eb-894b044c9cef",          "assetTypeOptionIds": [            "40c653fd-6987-438f-a2d2-ccdc1954fa8d"          ],          "optionSetValidity": "Valid",          "yearOfManufacture": "string",          "commissioningDate": null,          "lastCommissioningDate": null,          "count": "string",          "state": "Draft",          "assetKind": "Line",          "assetGroupIds": [            "8da01877-f9bc-4850-bad0-015de5d25ce0"          ],          "extensionValues": {},          "creationDate": "2019-08-24T14:15:22Z",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "assetGroupIds": [          "8da01877-f9bc-4850-bad0-015de5d25ce0"        ],        "assetGroupCount": "string",        "firstAssetGroup": {          "names": {            "property1": "string",            "property2": "string"          },          "qrCode": "string",          "name": "string",          "description": "string",          "styleName": "string",          "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",          "locality": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "isFavorite": true,          "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "notes": "string",        "calendarDate": null,        "creationDate": null,        "lastChangeDate": null,        "unresolvedTicketCount": "string",        "totalTicketCount": "string",        "regulationKind": "Inspection",        "state": "Draft",        "regulation": {          "kind": "Inspection",          "norm": "string",          "validFrom": null,          "validTo": null,          "regulationSet": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "regulationDomain": {            "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",            "iconName": "string",            "colorName": "string",            "names": {              "property1": "string",              "property2": "string"            },            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "checklistIds": [            "fe7e5749-9ad2-4b49-bdef-d971d8430447"          ],          "inspectionTypeIds": [            "4d6917f4-fc40-4351-9683-ab7a3cbd1cbf"          ],          "creationDate": "2019-08-24T14:15:22Z",          "lastChangeDate": "2019-08-24T14:15:22Z",          "code": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "inspectionType": {          "isArchived": true,          "documentDemand": "Optional",          "classification": "Legislation",          "hasInitialPeriodicity": true,          "code": "string",          "name": "string",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "locality": {          "region": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "customer": {            "roles": null,            "identificationNumber": "string",            "emailAddress": "string",            "phoneNumber": "string",            "address": null,            "extensionValues": null,            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "code": "string",          "name": "string",          "note": "string",          "address": {            "streetAddress1": "string",            "streetAddress2": "string",            "streetAddress3": "string",            "city": "string",            "cityDistrict": "string",            "postalCode": "string",            "coordinates": null,            "countryCode": "string"          },          "levelEntityCategoryId": "32f29979-b26a-4b9a-aa34-af49e6995ee1",          "levelEntityCategory": {            "code": "string",            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "extensionValues": {},          "creationDate": "2019-08-24T14:15:22Z",          "lastChangeDate": "2019-08-24T14:15:22Z",          "classId": "f0846d40-4884-40d5-8fc5-9f2c5ef371c4",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",        "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",        "scheduledDate": null,        "requiredOnDate": null,        "validFrom": null,        "date": null,        "periodicities": [          {            "type": "TimeBased",            "timePeriodicity": {              "years": "string",              "months": "string",              "weeks": "string",              "days": "string",              "hours": "string",              "minutes": "string",              "seconds": "string",              "isZero": true,              "totalDaysApproximate": "string"            },            "calendarPeriodicity": {              "daysOfWeek": [                "None"              ],              "dayOfMonth": "string",              "totalDaysApproximate": "string"            },            "adjustedByLastInspection": true,            "totalDaysApproximate": "string"          }        ],        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "solverId": "215539d0-87f9-4694-804b-08fccd761ff8",        "reportMissing": true,        "confirmationMissing": true,        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      }    }  ],  "count": 0}