Skip to content

Create or Update Batch PayorReport

Request

Create or Update multiple PayorReport 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
payorIDstringrequired

Payor ID

Headers
vbasoftware-databasestringrequired

Target database

Bodyapplication/jsonrequired
Array [
payor_IDstring, [ 1 .. 20 ] charactersrequired
reportDefinition_Keyinteger, (int32)required
entry_Datestring, (date-time)
entry_Userstring or null, <= 20 characters
report_Typestring, [ 1 .. 16 ] charactersrequired
update_Datestring, (date-time)
update_Userstring or null, <= 20 characters
]
curl -i -X PUT \
  'https://vbapi.vbasoftware.com/vbasoftware/payors/{payorID}/reports-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 '[
    {
      "payor_ID": "string",
      "reportDefinition_Key": 0,
      "entry_Date": "2019-08-24T14:15:22Z",
      "entry_User": "string",
      "report_Type": "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": { … } }