POST api/v1/admin_ActivityType

Request Information

URI Parameters

None.

Body Parameters

Admin_ActivityTypeVM
NameDescriptionTypeAdditional information
activityTypeId

integer

None.

activityTypeName

string

None.

tenantId

integer

None.

createdBy

integer

None.

activities

Collection of Admin_ActivitiesAssignedVM

None.

Request Formats

application/json, text/json

Sample:
{
  "activityTypeId": 1,
  "activityTypeName": "sample string 2",
  "tenantId": 1,
  "createdBy": 3,
  "activities": [
    {
      "activitiesAssignedId": 1,
      "activityId": 2,
      "roleId": 3,
      "dateTimeCreated": "2024-11-24T08:52:21.7868792-08:00",
      "tenantId": 1,
      "createdBy": 5,
      "activityName": "sample string 6",
      "activityLabel": "sample string 7",
      "activityTypeName": "sample string 8",
      "roleName": "sample string 9",
      "isSelected": true
    },
    {
      "activitiesAssignedId": 1,
      "activityId": 2,
      "roleId": 3,
      "dateTimeCreated": "2024-11-24T08:52:21.7868792-08:00",
      "tenantId": 1,
      "createdBy": 5,
      "activityName": "sample string 6",
      "activityLabel": "sample string 7",
      "activityTypeName": "sample string 8",
      "roleName": "sample string 9",
      "isSelected": true
    }
  ]
}

application/xml, text/xml

Sample:
<Admin_ActivityTypeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <activities>
    <Admin_ActivitiesAssignedVM>
      <activitiesAssignedId>1</activitiesAssignedId>
      <activityId>2</activityId>
      <activityLabel>sample string 7</activityLabel>
      <activityName>sample string 6</activityName>
      <activityTypeName>sample string 8</activityTypeName>
      <createdBy>5</createdBy>
      <dateTimeCreated>2024-11-24T08:52:21.7868792-08:00</dateTimeCreated>
      <isSelected>true</isSelected>
      <roleId>3</roleId>
      <roleName>sample string 9</roleName>
      <tenantId>1</tenantId>
    </Admin_ActivitiesAssignedVM>
    <Admin_ActivitiesAssignedVM>
      <activitiesAssignedId>1</activitiesAssignedId>
      <activityId>2</activityId>
      <activityLabel>sample string 7</activityLabel>
      <activityName>sample string 6</activityName>
      <activityTypeName>sample string 8</activityTypeName>
      <createdBy>5</createdBy>
      <dateTimeCreated>2024-11-24T08:52:21.7868792-08:00</dateTimeCreated>
      <isSelected>true</isSelected>
      <roleId>3</roleId>
      <roleName>sample string 9</roleName>
      <tenantId>1</tenantId>
    </Admin_ActivitiesAssignedVM>
  </activities>
  <activityTypeId>1</activityTypeId>
  <activityTypeName>sample string 2</activityTypeName>
  <createdBy>3</createdBy>
  <tenantId>1</tenantId>
</Admin_ActivityTypeVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.