curl --request POST \
--url https://api.okapicrm.com/okapicrm.v1.OkapiCRMService/UpsertRecord \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"matchOn": "<string>",
"record": {
"archived": true,
"createTime": {},
"createdBy": {
"apiKeyId": "<string>",
"builtinIntegration": [
"BUILTIN_INTEGRATION_UNSPECIFIED",
"BUILTIN_INTEGRATION_GMAIL_V1",
"BUILTIN_INTEGRATION_OUTLOOK_V1",
"BUILTIN_INTEGRATION_LINKEDIN_V1"
],
"userId": "<string>"
},
"deleted": true,
"fields": {},
"formulaErrors": {},
"id": "<string>",
"objectApiName": "<string>",
"objectId": "<string>"
},
"updateFields": [
"<string>"
]
}
'{
"archived": true,
"createTime": {},
"createdBy": {
"apiKeyId": "<string>",
"builtinIntegration": [
"BUILTIN_INTEGRATION_UNSPECIFIED",
"BUILTIN_INTEGRATION_GMAIL_V1",
"BUILTIN_INTEGRATION_OUTLOOK_V1",
"BUILTIN_INTEGRATION_LINKEDIN_V1"
],
"userId": "<string>"
},
"deleted": true,
"fields": {},
"formulaErrors": {},
"id": "<string>",
"objectApiName": "<string>",
"objectId": "<string>"
}curl --request POST \
--url https://api.okapicrm.com/okapicrm.v1.OkapiCRMService/UpsertRecord \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"matchOn": "<string>",
"record": {
"archived": true,
"createTime": {},
"createdBy": {
"apiKeyId": "<string>",
"builtinIntegration": [
"BUILTIN_INTEGRATION_UNSPECIFIED",
"BUILTIN_INTEGRATION_GMAIL_V1",
"BUILTIN_INTEGRATION_OUTLOOK_V1",
"BUILTIN_INTEGRATION_LINKEDIN_V1"
],
"userId": "<string>"
},
"deleted": true,
"fields": {},
"formulaErrors": {},
"id": "<string>",
"objectApiName": "<string>",
"objectId": "<string>"
},
"updateFields": [
"<string>"
]
}
'{
"archived": true,
"createTime": {},
"createdBy": {
"apiKeyId": "<string>",
"builtinIntegration": [
"BUILTIN_INTEGRATION_UNSPECIFIED",
"BUILTIN_INTEGRATION_GMAIL_V1",
"BUILTIN_INTEGRATION_OUTLOOK_V1",
"BUILTIN_INTEGRATION_LINKEDIN_V1"
],
"userId": "<string>"
},
"deleted": true,
"fields": {},
"formulaErrors": {},
"id": "<string>",
"objectApiName": "<string>",
"objectId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes