Skip to content

Create or Update Batch MemberLanguage

Request

Create or Update multiple MemberLanguage 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
subscriberIDstringrequired

Subscriber ID

memberSeqstringrequired

Member Seq

Headers
vbasoftware-databasestringrequired

Target database

Bodyapplication/jsonrequired
Array [
subscriber_IDstring, [ 1 .. 9 ] charactersrequired

References Members.Subscriber_ID value on the parent record.

member_Seqstring, [ 1 .. 2 ] charactersrequired

References Members.Member_Seq value on the parent record.

language_IDstring, [ 1 .. 8 ] charactersrequired

References Languages.Language_ID value on the referenced record.

entry_Datestring, (date-time)

Date when the record was first added to the system.

entry_Userstring or null, <= 20 characters

User that first added the record to the system.

primary_Languagebooleanrequired

Idenfities that the associated language is the Member's primary language. Note: The database will apply a default value of False for this field if a value is not provided. This field is also marked as NOT NULL in the database and therefore required by the API. If you do not have a value for this field, supply the database default value of False to meet the API requirements and ensure that the functionality occurs as expected.

secondary_Languagebooleanrequired

Identifies that the associated language is the Member's secondary language. Note: The database will apply a default value of False for this field if a value is not provided. This field is also marked as NOT NULL in the database and therefore required by the API. If you do not have a value for this field, supply the database default value of False to meet the API requirements and ensure that the functionality occurs as expected.

spoken_Languagebooleanrequired

A flag indicating a Member can speak the language. Note: The database will apply a default value of False for this field if a value is not provided. This field is also marked as NOT NULL in the database and therefore required by the API. If you do not have a value for this field, supply the database default value of False to meet the API requirements and ensure that the functionality occurs as expected.

update_Datestring, (date-time)

Date when the record was last updated in the system.

update_Userstring or null, <= 20 characters

User that last updated the record in the system.

written_Languagebooleanrequired

A flag indicating a Member can write the language. Note: The database will apply a default value of False for this field if a value is not provided. This field is also marked as NOT NULL in the database and therefore required by the API. If you do not have a value for this field, supply the database default value of False to meet the API requirements and ensure that the functionality occurs as expected.

]
curl -i -X PUT \
  'https://vbapi.vbasoftware.com/vbasoftware/subscribers/{subscriberID}/members/{memberSeq}/languages-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 '[
    {
      "subscriber_ID": "string",
      "member_Seq": "st",
      "language_ID": "string",
      "entry_Date": "2019-08-24T14:15:22Z",
      "entry_User": "string",
      "primary_Language": true,
      "secondary_Language": true,
      "spoken_Language": true,
      "update_Date": "2019-08-24T14:15:22Z",
      "update_User": "string",
      "written_Language": true
    }
  ]'

Responses

Success

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