Skip to content

Create Provider Rate Criteria

Request

Creates a new Provider Rate Criteria

Security
apiKeyAuth and bearerAuth
Path
providerIdstringrequired

Provider ID

providerRateKeyinteger, (int32)required

Provider Rate Key

Headers
vbasoftware-databasestringrequired

Target database

Bodyapplication/jsonrequired
providerRateCriteria_Keyinteger, (int32)required

References. The ProviderRateCriteria.ProviderRateCriteria_Key value on the parent table.

criteria_Fromstring or null, <= 64 characters

Beginning of selected criteria range.

criteria_Operatorstring or null, <= 1 characters
criteria_Thrustring or null, <= 64 characters

End of selected criteria range. This criterion is only used for the ‘Between’ operation.

providerRateColumn_Keyinteger, (int32)required

References the ProviderRateColumn.ProviderRateColumn_Key on the parent table.

providerRate_Keyinteger, (int32)required

References the ProviderRate.ProviderRate_Key value on the parent table.

curl -i -X POST \
  'https://vbapi.vbasoftware.com/vbasoftware/providers/{providerId}/rates/{providerRateKey}/criterias' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'vbasoftware-database: string' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "providerRateCriteria_Key": 0,
    "criteria_From": "string",
    "criteria_Operator": "s",
    "criteria_Thru": "string",
    "providerRateColumn_Key": 0,
    "providerRate_Key": 0
  }'

Responses

Success

Bodyapplication/json
dataobject
errorobject
debugobject
Response
{ "data": { … }, "error": { … }, "debug": { … } }