Skip to content

Create or Update Batch Capitation

Request

Create or Update multiple Capitation at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.

Security
apiKeyAuth and bearerAuth
Path
capitationTransactionKeyinteger, (int32)required

CapitationTransaction Key

Headers
vbasoftware-databasestringrequired

Target database

Bodyapplication/jsonrequired
Array [
capitation_Keyinteger, (int32)required

ID for the capitation. Note: This field is marked as NOT NULL in the database and therefore required by the API.

account_Keyinteger or null, (int32)

Account number of the Payor.

ageinteger or null, (int32)

Age of the Member who is associated with the capitation.

capitationPlanRate_Keyinteger or null, (int32)

ID of the capitation plan rate.

capitationTransaction_Keyinteger or null, (int32)

ID for the capitation transaction.

capitation_Amountnumber or null, (double)

Amount of the capitation adjustment.

capitation_Datestring or null, (date-time)

Date when the capitation adjustment takes place.

division_IDstring or null, <= 20 characters

ID of the Division that is associated with the capitation.

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

ID of the Group that is associated with the capitation.

member_Seqstring or null, <= 2 characters

Sequential ID of the Member who is associated with the capitation.

payor_IDstring or null, <= 20 characters

ID of the Payor who is associated with the capitation.

plan_IDstring or null, <= 20 characters

ID of the plan that the capitation is associated with.

provider_IDstring or null, <= 20 characters

ID of the Provider who is associated with the capitation.

subscriber_IDstring or null, <= 9 characters

ID of the Subscriber who is associated with the capitation.

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 PUT \
  'https://vbapi.vbasoftware.com/vbasoftware/capitation-transactions/{capitationTransactionKey}/capitations-batch' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'vbasoftware-database: string' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '[
    {
      "capitation_Key": 0,
      "account_Key": 0,
      "age": 0,
      "capitationPlanRate_Key": 0,
      "capitationTransaction_Key": 0,
      "capitation_Amount": 0.1,
      "capitation_Date": "2019-08-24T14:15:22Z",
      "division_ID": "string",
      "entry_Date": "2019-08-24T14:15:22Z",
      "entry_User": "string",
      "group_ID": "string",
      "member_Seq": "st",
      "payor_ID": "string",
      "plan_ID": "string",
      "provider_ID": "string",
      "subscriber_ID": "string",
      "update_Date": "2019-08-24T14:15:22Z",
      "update_User": "string"
    }
  ]'

Responses

Success

Bodyapplication/json
dataArray of objects or null
errorobject
debugobject
Response
{ "data": [ … ], "error": { … }, "debug": { … } }