Update a Customer

post/update/C

Updates an existing customer.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
required
object
attribute1
required
string non-empty
attribute2
required
string non-empty
typedId
required
string non-empty
required
object
version
required
number
typedId
required
string non-empty
customerId
required
string non-empty
name
required
string non-empty
parentId
any
userGroupEdit
any
userGroupViewDetails
any
nodeId
required
number
createDate
required
string non-empty
createdBy
required
number
lastUpdateDate
required
string non-empty
lastUpdateBy
required
number
attribute1
required
string non-empty
attribute2
required
string non-empty
attribute3
any
attribute4
any
attribute5
any
attribute6
any
attribute7
any
attribute8
any
attribute9
any
attribute10
any
attribute11
any
attribute12
any
attribute13
any
attribute14
any
attribute15
any
attribute16
any
attribute17
any
attribute18
any
attribute19
any
attribute20
any
attribute21
any
attribute22
any
attribute23
any
attribute24
any
attribute25
any
attribute26
any
attribute27
any
attribute28
any
attribute29
any
attribute30
any
isParent
required
boolean
operationType
required
string non-empty
textMatchStyle
required
string non-empty
Responses
200

Returns customer record details.

Response Schema: application/json
object or object
Any of:
node
string non-empty
Array of objects (Customer) non-empty unique

The Customer object. The Type code is C.

Array (non-empty)
createDate
string <date-time>
createdBy
integer
customerId
string <= 255 characters
isParent
boolean or null
lastUpdateBy
integer
lastUpdateDate
string <date-time>
name
string <= 255 characters
nodeId
integer
parentId
integer
typedId
string
userGroupEdit
string <= 255 characters
userGroupViewDetails
string <= 255 characters
version
integer
attribute1
string <= 255 characters
attribute2
string <= 255 characters
attribute3
string <= 255 characters
attribute4
string <= 255 characters
attribute5
string <= 255 characters
attribute6
string <= 255 characters
attribute7
string <= 255 characters
attribute8
string <= 255 characters
attribute9
string <= 255 characters
attribute10
string <= 255 characters
attribute11
string <= 255 characters
attribute12
string <= 255 characters
attribute13
string <= 255 characters
attribute14
string <= 255 characters
attribute15
string <= 255 characters
attribute16
string <= 255 characters
attribute17
string <= 255 characters
attribute18
string <= 255 characters
attribute19
string <= 255 characters
attribute20
string <= 255 characters
attribute21
string <= 255 characters
attribute22
string <= 255 characters
attribute23
string <= 255 characters
attribute24
string <= 255 characters
attribute25
string <= 255 characters
attribute26
string <= 255 characters
attribute27
string <= 255 characters
attribute28
string <= 255 characters
attribute29
string <= 255 characters
attribute30
string <= 255 characters
status
number
Request samples
application/json
{
  • "data": {
    • "attribute1": "Derry Lane 11",
    • "attribute2": "+44123456789",
    • "typedId": "2147492216.C"
    },
  • "oldValues": {
    • "version": 0,
    • "typedId": "2147492216.C",
    • "customerId": "00003",
    • "name": "Kate Smith",
    • "parentId": null,
    • "userGroupEdit": null,
    • "userGroupViewDetails": null,
    • "nodeId": 2147492216,
    • "createDate": "2021-09-22T12:56:16",
    • "createdBy": 2147490696,
    • "lastUpdateDate": "2021-09-22T12:56:16",
    • "lastUpdateBy": 2147490696,
    • "attribute1": "Derry Lane",
    • "attribute2": "123456789",
    • "attribute3": null,
    • "attribute4": null,
    • "attribute5": null,
    • "attribute6": null,
    • "attribute7": null,
    • "attribute8": null,
    • "attribute9": null,
    • "attribute10": null,
    • "attribute11": null,
    • "attribute12": null,
    • "attribute13": null,
    • "attribute14": null,
    • "attribute15": null,
    • "attribute16": null,
    • "attribute17": null,
    • "attribute18": null,
    • "attribute19": null,
    • "attribute20": null,
    • "attribute21": null,
    • "attribute22": null,
    • "attribute23": null,
    • "attribute24": null,
    • "attribute25": null,
    • "attribute26": null,
    • "attribute27": null,
    • "attribute28": null,
    • "attribute29": null,
    • "attribute30": null,
    • "isParent": false
    },
  • "operationType": "update",
  • "textMatchStyle": "exact"
}
Response samples
application/json
{
  • "response": {
    • "node": "string",
    • "data": [
      • {
        • "createDate": "2019-08-24T14:15:22Z",
        • "createdBy": 0,
        • "customerId": "string",
        • "isParent": true,
        • "lastUpdateBy": 0,
        • "lastUpdateDate": "2019-08-24T14:15:22Z",
        • "name": "string",
        • "nodeId": 0,
        • "parentId": 0,
        • "typedId": "string",
        • "userGroupEdit": "string",
        • "userGroupViewDetails": "string",
        • "version": 0,
        • "attribute1": "string",
        • "attribute2": "string",
        • "attribute3": "string",
        • "attribute4": "string",
        • "attribute5": "string",
        • "attribute6": "string",
        • "attribute7": "string",
        • "attribute8": "string",
        • "attribute9": "string",
        • "attribute10": "string",
        • "attribute11": "string",
        • "attribute12": "string",
        • "attribute13": "string",
        • "attribute14": "string",
        • "attribute15": "string",
        • "attribute16": "string",
        • "attribute17": "string",
        • "attribute18": "string",
        • "attribute19": "string",
        • "attribute20": "string",
        • "attribute21": "string",
        • "attribute22": "string",
        • "attribute23": "string",
        • "attribute24": "string",
        • "attribute25": "string",
        • "attribute26": "string",
        • "attribute27": "string",
        • "attribute28": "string",
        • "attribute29": "string",
        • "attribute30": "string"
        }
      ],
    • "status": 0
    }
}