Add New Activity
post
/activity-service/activity
This endpoint is used to add a new Activity.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId: string
The application ID of host service.
-
branchCode: string
The branch code of requesting branch.
-
contentType(optional): string
The content type of request or response body.
-
userId: string
The user ID of requesting user.
Request Body that contains data required for creating a new Activity.
Root Schema : activityModel
Type:
object
Activity model
Show Source
-
accountId(optional):
string
Account ID of the activity.
-
activityDesc(optional):
string
Activity Description of the activity.
-
activityId(optional):
string
Activity ID of the activity.
-
activityType(optional):
string
Activity Type of the activity.
-
activityTypeId(optional):
string
Activity Type ID of the activity.
-
createdBy(optional):
string
Created By of the activity.
-
cretDttm(optional):
string
Created date and time of the activity.
-
partyId(optional):
string
Party ID of the activity.
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns the Id of the newly created Activity.
Headers
-
Location: string
URL of newly created Activity
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error