Update Company Business Activities
PUT {{baseUrl}}/cas/companies/:companyId/activities/:activityId
This resource updates Company Business Activities.
As it is a PUT, any field NOT included will be set to NULL.
The recommended approach is to first send a GET to retrieve all fields, and then include that response in the PUT body, making the adjustments as needed.
Request Body
Legend:
✓ Field used in that jurisdiction
[blank] Field not used in that jurisdiction
| Field | Data Type | Australia & NZ | Singapore | Comment |
|---|---|---|---|---|
| activity | String | MANDATORY | MANDATORY | Name of the activity |
| activityCode | String | MANDATORY | MANDATORY | Code of the activity |
| activityDate | String | MANDATORY | MANDATORY | yyyy-mm-dd |
| activityType | String | ✓ | MANDATORY | |
| ceasedDate | String | ✓ | ✓ | yyyy-mm-dd |
| otherDescription | String | ✓ | ✓ |
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
| `` | null |
Request Body
{"activity"=>"June Conference", "activityCode"=>"456", "activityDate"=>"2023-06-22", "activityType"=>nil, "ceasedDate"=>nil, "otherDescription"=>nil}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"activity":"June Conference","activityCode":"456","activityDate":"2023-06-22","activityType":null,"ceasedDate":null,"id":485553,"otherDescription":null}