Machine registration request

Example

POST https://idissuer.pl/api/v3/registries/machines/requests/registration
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}} 
{
    "economicOperatorId": "DEV1000000a",
    "confirmationCode": "5552033d",
    "facilityId": "DEV1000000i",
    "previousMachineId": "",
    "machineProducer": "Producer",
    "machineModel": "Model",
    "machineSerial": "Serial1234",
    "machineParts": [
        "DEV1000000j"
    ],
    "antiTamperingRecording": "Enabled",
    "antiTamperingDeviceSerialNumber": "1",
    "machineCapacity": 1,
    "extensibility": ""
}
                

Response

HTTP/1.1 201 Created
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "machineRegisterRequestId": 29
}
                

Getting details of machine registration request

Example

GET https://idissuer.pl/api/v3/registries/machines/requests/registration/29
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}     
            

Response

HTTP/1.1 200 OK
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "machineId": "DEV1000000k",
    "requestId": 29,
    "economicOperatorId": "DEV1000000a",
    "facilityId": "DEV1000000i",
    "confirmationCode": "5552033d",
    "requestStatus": "Accepted",
    "creationDate": "2024-01-16T15:42:15.2341491+00:00",
    "submittingUser": "user@test.pl",
    "extensibility": null,
    "requestedMachinePartIds": [
        "DEV1000000j"
    ],
    "antiTampering": {
        "recording": "Enabled",
        "serialNumber": "1"
    },
    "previousMachineId": null,
    "machineProducer": "Producer",
    "machineModel": "Model",
    "machineSerial": "Serial1234",
    "machineCapacity": 1
}
   

Searching details of machine registration request

Example

GET https://idissuer.pl/api/v3/registries/machines/requests/registration?facilityId=DEV1000000i
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}     
               

Search parameters

machineId
status
submittingUserEmail
registrationDateFrom
registrationDateTo
pageNumber
pageSize - amount of items per page (max 100)

Response

HTTP/1.1 200 OK
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "items": [
        {
            "requestId": 29,
            "economicOperatorId": "DEV1000000a",
            "facilityId": "DEV1000000i",
            "confirmationCode": "5552033d",
            "requestStatus": "Accepted",
            "creationDate": "2024-01-16T15:42:15.2341491+00:00",
            "submittingUser": "user@test.pl",
            "extensibility": null,
            "requestedMachinePartIds": [
                "DEV1000000j"
            ],
            "antiTampering": {
                "recording": "Enabled",
                "serialNumber": "1"
            },
            "previousMachineId": null,
            "machineProducer": "Producer",
            "machineModel": "Model",
            "machineSerial": "Serial1234",
            "machineCapacity": 1
        }
    ],
    "totalItemsCount": 1,
    "pagesCount": 1,
    "pageNumber": 1,
    "pageSize": 25
}
    

Getting details of machine

Example

GET https://idissuer.pl/api/v3/registries/machines/DEV1000000k
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}     
                        

Response

HTTP/1.1 200 OK
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "economicOperatorId": "DEV1000000a",
    "facilityId": "DEV1000000i",
    "confirmationCode": "5552033d",
    "machineId": "DEV1000000k",
    "machineProducer": "Producer",
    "machineModel": "Model",
    "machineSerial": "Serial1234",
    "machineCapacity": 1,
    "status": "Active",
    "createDate": "2024-01-16T15:42:15.2341491+00:00",
    "previousMachineId": null,
    "extensibility": null,
    "machineParts": [
        "DEV1000000j"
    ],
    "antiTampering": {
        "recording": "Enabled",
        "serialNumber": "1"
    }
} 
 

Searching details of machine

Example

GET https://idissuer.pl/api/v3/registries/machines?facilityId=DEV1000000i
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}
                        

Search parameters

machineId
facilityId
machineSerial
machineModel
status
registrationDateFrom
registrationDateTo
pageNumber
pageSize - amount of items per page (max 100)

Response

HTTP/1.1 200 OK
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "items": [
        {
            "confirmationCode": "5552033d",
            "identifierCode": "DEV1000000k",
            "machineProducer": "Producer",
            "machineModel": "Model",
            "machineSerial": "Serial1234",
            "machineCapacity": 1,
            "status": "Active",
            "createDate": "2024-01-16T15:42:15.2341491+00:00",
            "previousMachinePartId": null,
            "extensibility": null,
            "machineParts": [
                "DEV1000000j"
            ],
            "antiTampering": {
                "recording": "Enabled",
                "serialNumber": "1"
            }
        }
    ],
    "totalItemsCount": 1,
    "pagesCount": 1,
    "pageNumber": 1,
    "pageSize": 25
}
            

Machine edit request

Example

POST https://idissuer.pl/api/v3/registries/machines/requests/edit
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}} 
{
    "economicOperatorId": "DEV1000000a",
    "confirmationCode": "5552033d",
    "machineId": "DEV1000000k",
    "facilityId": "DEV1000000i",
    "previousMachineId": "",
    "machineProducer": "Producer",
    "machineModel": "Model",
    "machineSerial": "Serial1234",
    "machineCapacity": 2,
    "machineParts": [
        "DEV1000000j"
    ],
    "antiTamperingRecording": "Enabled",
    "antiTamperingDeviceSerialNumber": "4567",
    "extensibility": ""
}
                    

Response

HTTP/1.1 201 Created
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "machineEditRequestId": 30  
}
                    

Getting details of machine edit request

Example

GET https://idissuer.pl/api/v3/registries/machines/requests/edit/30
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}     
                

Response

HTTP/1.1 200 OK
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "requestId": 30,
    "machineId": "DEV1000000k",
    "economicOperatorId": "DEV1000000a",
    "facilityId": "DEV1000000i",
    "requestStatus": "Accepted",
    "cancellationReason": null,
    "creationDate": "2024-01-17T12:59:29.2560085+00:00",
    "submittingUser": "user@test.pl",
    "previousMachineId": null,
    "machineProducer": "Producer",
    "machineModel": "Model",
    "machineSerial": "Serial1234",
    "requestedMachinePartIds": [
        "DEV1000000j"
    ],
    "antiTampering": {
        "recording": "Enabled",
        "serialNumber": "4567"
    },
    "machineCapacity": 2,
    "extensibility": null
}
        

Searching details of machine edit request

Example

GET https://idissuer.pl/api/v3/registries/machines/requests/edit?status=Accepted
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}     
                    

Search parameters

machineId
status
submittingUserEmail
registrationDateFrom
registrationDateTo
pageNumber
pageSize - amount of items per page (max 100)

Response

HTTP/1.1 200 OK
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "items": [
        {
            "requestId": 30,
            "economicOperatorId": "DEV1000000a",
            "facilityId": "DEV1000000i",
            "requestStatus": "Accepted",
            "cancellationReason": null,
            "creationDate": "2024-01-17T12:59:29.2560085+00:00",
            "submittingUser": "user@test.pl",
            "previousMachineId": null,
            "machineProducer": "Producer",
            "machineModel": "Model",
            "machineSerial": "Serial1234",
            "requestedMachinePartIds": [
                "DEV1000000j"
            ],
            "antiTampering": {
                "recording": "Enabled",
                "serialNumber": "4567"
            },
            "machineCapacity": 2,
            "extensibility": null
        }
    ],
    "totalItemsCount": 1,
    "pagesCount": 1,
    "pageNumber": 1,
    "pageSize": 25
}
        

Machine deactivation request

Example

POST https://idissuer.pl/api/v3/registries/machines/requests/deregistration
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}} 
{
    "economicOperatorId": "DEV1000000a",
    "facilityId": "DEV1000000i",
    "confirmationCode": "5552033d",
    "machineId": "DEV1000000k",
    "extensibility": ""
}
                        

Response

HTTP/1.1 201 Created
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "machineDeregisterRequestId": 33
}
                        

Getting details of machine deactivation request

Example

GET https://idissuer.pl/api/v3/registries/machines/requests/deregistration/33
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}     
                    

Response

HTTP/1.1 200 OK
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "requestId": 33,
    "machineId": "DEV1000000k",
    "economicOperatorId": "DEV1000000a",
    "facilityId": "DEV1000000i",
    "requestStatus": "Accepted",
    "creationDate": "2024-01-17T14:24:17.0392361+00:00",
    "cancellationReason": null,
    "submittingUser": "user@test.pl",
    "extensibility": null
}
      

Searching details of machine deactivation request

Example

GET https://idissuer.pl/api/v3/registries/machines/requests/deregistration?requestStatus=Accepted
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}     
                        

Search parameters

machineId
status -
submittingUserEmail
registrationDateFrom
registrationDateTo
pageNumber
pageSize - amount of items per page (max 100)

Response

HTTP/1.1 200 OK
Connection: close
Date: Wed, 17 Jan 2024 15:10:09 GMT
Content-Type: application/json; charset=utf-8 
{
    "items": [
        {
            "requestId": 33,
            "economicOperatorId": "DEV1000000a",
            "facilityId": "DEV1000000i",
            "machineId": "DEV1000000k",
            "requestStatus": "Accepted",
            "creationDate": "2024-01-17T14:24:17.0392361+00:00",
            "cancellationReason": null,
            "submittingUser": "user@test.pl",
            "extensibility": null
        }
    ],
    "totalItemsCount": 1,
    "pagesCount": 1,
    "pageNumber": 1,
    "pageSize": 25
}