Machine part registration request

Example

POST https://idissuer.pl/api/v3/registries/machine-parts/requests/registration
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}} 
{
    "economicOperatorId": "DEV1000000a",
    "confirmationCode": "5552033d",
    "facilityId": "DEV1000000i",
    "requestedMachineIds": null,
    "producer": "producer m part",
    "model": "model",
    "number": "123",
    "mobility": "Mobile",
    "antiTamperingRecording": false,
    "antiTamperingDeviceSerialNumber": "M",
    "description": "",
    "extensibility": "",
    "hasPreviousMachinePartId": false,
    "previousMachinePartId": ""
}
                

Response

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

Getting details of machine part registration request

Example

GET https://idissuer.pl/api/v3/registries/machine-parts/requests/registration/28
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 
{
    "machinePartRequestId": 28,
    "status": "Accepted",
    "rejectionReason": null,
    "machinePartId": "DEV1000000j",
    "facilityId": "DEV1000000i",
    "requestedMachineIds": [],
    "producer": "producer m part",
    "model": "model",
    "number": "123",
    "antiTampering": {
        "recording": "Disabled",
        "serialNumber": null
    },
    "description": null,
    "mobility": "Mobile",
    "extensibility": null,
    "previousMachinePartId": null,
    "submittedOn": "2024-01-16T13:51:33.4383883+00:00",
    "submittedBy": "user@test.pl"
}
   

Searching details of machine part registration request

Example

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

Search parameters

requestId
machinePartId
facilityId
status
createdBy
createdOnFrom
createdOnTo
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": 28,
            "status": "Accepted",
            "rejectionReason": null,
            "machinePartId": "DEV1000000j",
            "facilityId": "DEV1000000i",
            "requestedMachineIds": [],
            "producer": "producer m part",
            "model": "model",
            "number": "123",
            "antiTampering": {
                "recording": "Disabled",
                "serialNumber": null
            },
            "description": null,
            "mobility": "Mobile",
            "extensibility": null,
            "previousMachinePartId": null,
            "submittedOn": "2024-01-16T13:51:33.4383883+00:00",
            "submittedBy": "user@test.pl"
        }
    ],
    "totalItemsCount": 1,
    "pagesCount": 1,
    "pageNumber": 1,
    "pageSize": 25
}
    

Getting details of machine part

Example

GET https://idissuer.pl/api/v3/registries/machine-parts/DEV1000000j
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 
{
    "machinePartId": "DEV1000000j",
    "facilityId": "DEV1000000i",
    "status": "Active",
    "machines": [
        "DEV1000000k"
    ],
    "antiTampering": {
        "recording": "Disabled",
        "serialNumber": null
    },
    "description": null,
    "producer": "producer m part",
    "model": "model",
    "number": "123",
    "mobility": "Mobile",
    "extensibility": null,
    "previousMachinePartId": null,
    "createdOn": "2024-01-16T13:51:33.5342606+00:00",
    "modifiedOn": null,
    "synchronizedOn": "2024-01-16T13:51:33.9086848+00:00"
}
 

Searching details of machine part

Example

GET https://idissuer.pl/api/api/v3/registries/facilities?status=Active
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}}
                        

Search parameters

machinePartId
machineId
facilityId
producer
model
number - serial number
status
createdOnFrom
createdOnTo
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": [
        {
            "machinePartId": "DEV1000000j",
            "facilityId": "DEV1000000i",
            "status": "Active",
            "machines": [
                "DEV1000000k"
            ],
            "createdOn": "2024-01-16T13:51:33.5342606+00:00",
            "modifiedOn": null,
            "antiTampering": {
                "recording": "Disabled",
                "serialNumber": null
            },
            "description": null,
            "producer": "producer m part",
            "model": "model",
            "number": "123",
            "mobility": "Mobile",
            "extensibility": null,
            "previousMachinePartId": null,
            "synchronizedOn": "2024-01-16T13:51:33.9086848+00:00"
        }
    ],
    "totalItemsCount": 1,
    "pagesCount": 1,
    "pageNumber": 1,
    "pageSize": 25
}
            

Machine part edit request

Example

POST https://idissuer.pl/api/v3/registries/machine-parts/requests/edit
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}} 
{
    "machinePartId": "DEV1000000j",
    "confirmationCode": "5552033d",
    "facilityId": "DEV1000000i",
    "requestedMachineIds": null,
    "description": null,
    "producer": "producer m part",
    "model": "model",
    "number": "123",
    "mobility": "Mobile",
    "extensibility": null,
    "hasPreviousMachinePartId": false
}
                    

Response

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

Getting details of machine part edit request

Example

GET https://idissuer.pl/api/v3/registries/machine-parts/requests/edit/32
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": 32,
    "status": "Accepted",
    "rejectionReason": null,
    "machinePartId": "DEV1000000j",
    "facilityId": "DEV1000000i",
    "requestedMachineIds": [],
    "producer": "producer m part",
    "model": "model",
    "number": "123",
    "antiTampering": {
        "recording": "Disabled",
        "serialNumber": null
    },
    "description": null,
    "mobility": "Mobile",
    "extensibility": null,
    "previousMachinePartId": null,
    "submittedOn": "2024-01-17T13:54:11.0871603+00:00",
    "submittedBy": "user@test.pl"
}
        

Searching details of machine part edit request

Example

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

Search parameters

requestId
machinePartId
facilityId
status
createdOnFrom
createdOnTo
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": 32,
            "status": "Accepted",
            "rejectionReason": null,
            "machinePartId": "DEV1000000j",
            "facilityId": "DEV1000000i",
            "requestedMachineIds": [],
            "producer": "producer m part",
            "model": "model",
            "number": "123",
            "antiTampering": {
                "recording": "Disabled",
                "serialNumber": null
            },
            "description": null,
            "mobility": "Mobile",
            "extensibility": null,
            "previousMachinePartId": null,
            "submittedOn": "2024-01-17T13:54:11.0871603+00:00",
            "submittedBy": "user@test.pl"
        }
    ],
    "totalItemsCount": 1,
    "pagesCount": 1,
    "pageNumber": 1,
    "pageSize": 25
}
        

Machine part deactivation request

Example

POST https://idissuer.pl/api/v3/registries/machine-parts/requests/deregistration
Content-Type: application/json
Authorization: Bearer {{AUTH_TOKEN}} 
{
  "machinePartId": "DEV1000000j",
  "confirmationCode": "5552033d",
  "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 
{
    "requestId": 34
}
                        

Getting details of machine part deactivation request

Example

GET https://idissuer.pl/api/v3/registries/machine-parts/requests/deregistration/34
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": 34,
    "status": "Accepted",
    "rejectionReason": null,
    "machinePartId": "DEV1000000j",
    "extensibility": null,
    "submittedOn": "2024-01-17T15:06:03.1717435+00:00",
    "submittedBy": "user@test.pl"
}
      

Searching details of machine part deactivation request

Example

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

Search parameters

requestId
machinePartId
status
createdOnFrom
createdOnTo
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": [
        {
            "machinePartRequestId": 34,
            "status": "Accepted",
            "rejectionReason": null,
            "machinePartId": "DEV1000000j",
            "extensibility": null,
            "submittedOn": "2024-01-17T15:06:03.1717435+00:00",
            "submittedBy": "user@test.pl"
        }
    ],
    "totalItemsCount": 1,
    "pagesCount": 1,
    "pageNumber": 1,
    "pageSize": 25
}