POST api/biometric/devices/save

Request Information

URI Parameters

None.

Body Parameters

BiometricDeviceModel
NameDescriptionTypeAdditional information
DeviceID

integer

None.

DeviceName

string

None.

DeviceIP

string

None.

DevicePort

integer

None.

Username

string

None.

Password

string

None.

BranchID

integer

None.

ConnectionType

string

None.

LastSyncTime

date

None.

Status

boolean

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceID": 1,
  "DeviceName": "sample string 2",
  "DeviceIP": "sample string 3",
  "DevicePort": 4,
  "Username": "sample string 5",
  "Password": "sample string 6",
  "BranchID": 7,
  "ConnectionType": "sample string 8",
  "LastSyncTime": "2026-10-15T11:13:35.7898443-07:00",
  "Status": true,
  "CreatedDate": "2026-10-15T11:13:35.7898443-07:00"
}

application/xml, text/xml

Sample:
<BiometricDeviceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Services">
  <BranchID>7</BranchID>
  <ConnectionType>sample string 8</ConnectionType>
  <CreatedDate>2026-10-15T11:13:35.7898443-07:00</CreatedDate>
  <DeviceID>1</DeviceID>
  <DeviceIP>sample string 3</DeviceIP>
  <DeviceName>sample string 2</DeviceName>
  <DevicePort>4</DevicePort>
  <LastSyncTime>2026-10-15T11:13:35.7898443-07:00</LastSyncTime>
  <Password>sample string 6</Password>
  <Status>true</Status>
  <Username>sample string 5</Username>
</BiometricDeviceModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BiometricDeviceModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.