Device

Get a Device

get
Query parameters
device_idintegerOptional

The ID of the device to retrieve

id_keystringOptional

The ID key of the device to retrieve

Responses
200

Successful retrieval of the device.

application/json
get
/device
200

Successful retrieval of the device.

Create a Device

post
Body
user_idintegerOptional

The ID of the user associated with the device

profile_idintegerOptional

The ID of the profile associated with the device

company_idintegerOptional

The ID of the company associated with the device

wallet_cardbooleanRequired

Flag to indicate if the device is a wallet card

Responses
200

Successful creation of the device.

application/json
post
/device
200

Successful creation of the device.

Update a Device

put
Body
device_idintegerRequired

The ID of the device to update

user_idintegerOptional

The ID of the user associated with the device

profile_idintegerOptional

The ID of the profile associated with the device

company_idintegerOptional

The ID of the company associated with the device

descriptionstringOptional

Description of the device

statusintegerOptional

Status of the device

redirectstringOptional

Redirect URL or type for the device

Responses
200

Successful update of the device.

application/json
put
/device
200

Successful update of the device.

Delete a Device

delete
Body
device_idintegerRequired

The ID of the device to delete

Responses
200

Successful deletion of the device.

application/json
delete
/device
200

Successful deletion of the device.

Create Multiple Devices

post
Query parameters
authstringRequired

Authorization token

Body
amountintegerRequired

Number of devices to create

order_numberstringRequired

Order number associated with the devices

company_idintegerRequired

The ID of the company associated with the devices

Responses
200

Successful creation of devices.

application/json
post
/devices
200

Successful creation of devices.

Last updated