Caption
Upsert
Inserts or updates a caption for a DATABASEFIELD
in the specified language. These captions are used in the open tasks grid, the task details pane and in the field templates.
Name | Data Type | Default | Required |
---|---|---|---|
Context | int | 6 | |
SourceTable | nvarchar(255) | ||
FieldName | nvarchar(255) | ||
Language | nvarchar(10) | ||
Caption | nvarchar(100) |
- Import
- API
- This endpoint is available in the import API endpoint
/import
via the proceduremboc_upsertCaption
. - Example body:
[
{
"StoredProcedureName": "mboc_upsertCaption",
"ParameterNames": ["SourceTable", "FieldName", "Language", "Caption"],
"ParameterValues": ["Job", "FreeBit1", "en", "Pineapple on pizza?"]
}
]
- Endpoint:
/caption
- Supported HTTP methods: POST (create) and PUT (update)
- Example body:
{
SourceTable": "Job",
"FieldName":"FreeBit1",
"Language":"en",
"Caption":"Pineapple on pizza?"
}
API reference
Context
Value | Name |
---|---|
1 | RESOURCE |
2 | APPOINTMENT |
3 | APPOINTMENTFIELDVALUE |
4 | |
5 | EMAILRECIPIENT |
6 | DATABASEFIELD |
7 | TASKDETAILS |
8 | EMAILIMPORTANCE |
9 | RECIPIENTTYPE |
10 | CONTEXT |
11 | TARGETPANE |
12 | TARGETPANEGROUP |
13 | TASK |
14 | JOB |