Skip to content

Create or Update Batch County

Request

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

Security
apiKeyAuth and bearerAuth
Headers
vbasoftware-databasestringrequired

Target database

Bodyapplication/jsonrequired
Array [
county_Codestring, [ 1 .. 8 ] charactersrequired

ID of the county.

county_Namestring or null, <= 64 characters

Name for the county.

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

statestring or null, <= 2 characters

State that the county is within.

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/counties-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 '[
    {
      "county_Code": "string",
      "county_Name": "string",
      "entry_Date": "2019-08-24T14:15:22Z",
      "entry_User": "string",
      "state": "st",
      "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": { … } }