Skip to content

Create Tolerance

Request

Creates a new Tolerance

Security
apiKeyAuth and bearerAuth
Headers
vbasoftware-databasestringrequired

Target database

Bodyapplication/jsonrequired
tolerance_Keyinteger, (int32)required

Unique identifier for the Tolerance entry. Note: This field is marked as NOT NULL in the database and therefore required by the API.

entry_Datestring, (date-time)

Date record was first added to the system

entry_Userstring or null, <= 20 characters

User that first added the record to the system

group_IDstring or null, <= 20 characters

The group to which the Tolerance applies..

payment_Methodstring or null, <= 20 characters

The subscriber's Payment Method for which the Tolerance applies.

tolerance1number, (double)required

The amount that is used to determine if an invoice should be closed. Note: This field is marked as NOT NULL in the database and therefore required by the API.

update_Datestring, (date-time)

Date the record was last updated in the system

update_Userstring or null, <= 20 characters

User that last updated the record in the system

curl -i -X POST \
  https://vbapi.vbasoftware.com/vbasoftware/tolerances \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'vbasoftware-database: string' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "tolerance_Key": 0,
    "entry_Date": "2019-08-24T14:15:22Z",
    "entry_User": "string",
    "group_ID": "string",
    "payment_Method": "string",
    "tolerance1": 0.1,
    "update_Date": "2019-08-24T14:15:22Z",
    "update_User": "string"
  }'

Responses

Success

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