GET api/ActivityType/{id}?type={type}

Gets a list of activity type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Organization Id.

integer

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ActivityType
NameDescriptionTypeAdditional information
UpdateType

string

None.

Id

integer

None.

Name

string

None.

ActivityTypeId

integer

None.

ActivityTypeName

string

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

UpdatedByName

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

GlobalId

string

None.

ActivityCount

integer

None.

OrganizationId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UpdateType": "sample string 1",
    "Id": 2,
    "Name": "sample string 3",
    "ActivityTypeId": 4,
    "ActivityTypeName": "sample string 5",
    "UpdatedDate": "2025-01-16T06:27:24.6709435+00:00",
    "UpdatedBy": "sample string 6",
    "UpdatedByName": "sample string 7",
    "CreatedBy": "sample string 8",
    "CreatedDate": "2025-01-16T06:27:24.6709435+00:00",
    "GlobalId": "sample string 9",
    "ActivityCount": 1,
    "OrganizationId": 1
  },
  {
    "UpdateType": "sample string 1",
    "Id": 2,
    "Name": "sample string 3",
    "ActivityTypeId": 4,
    "ActivityTypeName": "sample string 5",
    "UpdatedDate": "2025-01-16T06:27:24.6709435+00:00",
    "UpdatedBy": "sample string 6",
    "UpdatedByName": "sample string 7",
    "CreatedBy": "sample string 8",
    "CreatedDate": "2025-01-16T06:27:24.6709435+00:00",
    "GlobalId": "sample string 9",
    "ActivityCount": 1,
    "OrganizationId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfActivityType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <ActivityType>
    <ActivityCount>1</ActivityCount>
    <ActivityTypeId>4</ActivityTypeId>
    <ActivityTypeName>sample string 5</ActivityTypeName>
    <CreatedBy>sample string 8</CreatedBy>
    <CreatedDate>2025-01-16T06:27:24.6709435+00:00</CreatedDate>
    <GlobalId>sample string 9</GlobalId>
    <Id>2</Id>
    <Name>sample string 3</Name>
    <OrganizationId>1</OrganizationId>
    <UpdateType>sample string 1</UpdateType>
    <UpdatedBy>sample string 6</UpdatedBy>
    <UpdatedByName>sample string 7</UpdatedByName>
    <UpdatedDate>2025-01-16T06:27:24.6709435+00:00</UpdatedDate>
  </ActivityType>
  <ActivityType>
    <ActivityCount>1</ActivityCount>
    <ActivityTypeId>4</ActivityTypeId>
    <ActivityTypeName>sample string 5</ActivityTypeName>
    <CreatedBy>sample string 8</CreatedBy>
    <CreatedDate>2025-01-16T06:27:24.6709435+00:00</CreatedDate>
    <GlobalId>sample string 9</GlobalId>
    <Id>2</Id>
    <Name>sample string 3</Name>
    <OrganizationId>1</OrganizationId>
    <UpdateType>sample string 1</UpdateType>
    <UpdatedBy>sample string 6</UpdatedBy>
    <UpdatedByName>sample string 7</UpdatedByName>
    <UpdatedDate>2025-01-16T06:27:24.6709435+00:00</UpdatedDate>
  </ActivityType>
</ArrayOfActivityType>