PUT api/Activity

Edits an existing Activity.

Request Information

URI Parameters

None.

Body Parameters

Activity.

Activity
NameDescriptionTypeAdditional information
UpdateType

string

None.

ActivityId

integer

None.

ActivityTypeId

integer

None.

ActivityType

string

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

GlobalId

string

None.

Name

string

None.

Note

string

None.

CustomerId

integer

None.

CustomerName

string

None.

StartDateTime

date

None.

StartDateTimeDate

string

None.

StartDateTimeTime

string

None.

EndDateTime

date

None.

EndDateTimeDate

string

None.

EndDateTimeTime

string

None.

OrganizationId

integer

None.

Link

string

None.

IsCompleted

boolean

None.

IsFullDay

boolean

None.

ActivityStatus

string

None.

AttachmentCount

integer

None.

SupplierId

integer

None.

AssignedTo

integer

None.

ProjectId

integer

None.

AssignedToName

string

None.

ActivityStatusId

integer

None.

ProjectName

string

None.

SupplierName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UpdateType": "sample string 1",
  "ActivityId": 2,
  "ActivityTypeId": 1,
  "ActivityType": "sample string 3",
  "UpdatedDate": "2025-01-16T09:19:24.5131672+00:00",
  "UpdatedBy": "sample string 4",
  "CreatedBy": "sample string 5",
  "CreatedDate": "2025-01-16T09:19:24.5131672+00:00",
  "GlobalId": "sample string 6",
  "Name": "sample string 7",
  "Note": "sample string 8",
  "CustomerId": 1,
  "CustomerName": "sample string 9",
  "StartDateTime": "2025-01-16T09:19:24.5131672+00:00",
  "StartDateTimeDate": "sample string 10",
  "StartDateTimeTime": "sample string 11",
  "EndDateTime": "2025-01-16T09:19:24.5131672+00:00",
  "EndDateTimeDate": "sample string 12",
  "EndDateTimeTime": "sample string 13",
  "OrganizationId": 1,
  "Link": "sample string 14",
  "IsCompleted": true,
  "IsFullDay": true,
  "ActivityStatus": "sample string 15",
  "AttachmentCount": 1,
  "SupplierId": 1,
  "AssignedTo": 1,
  "ProjectId": 1,
  "AssignedToName": "sample string 16",
  "ActivityStatusId": 17,
  "ProjectName": "sample string 18",
  "SupplierName": "sample string 19"
}

application/xml, text/xml

Sample:
<Activity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <ActivityId>2</ActivityId>
  <ActivityStatus>sample string 15</ActivityStatus>
  <ActivityStatusId>17</ActivityStatusId>
  <ActivityType>sample string 3</ActivityType>
  <ActivityTypeId>1</ActivityTypeId>
  <AssignedTo>1</AssignedTo>
  <AssignedToName>sample string 16</AssignedToName>
  <AttachmentCount>1</AttachmentCount>
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedDate>2025-01-16T09:19:24.5131672+00:00</CreatedDate>
  <CustomerId>1</CustomerId>
  <CustomerName>sample string 9</CustomerName>
  <EndDateTime>2025-01-16T09:19:24.5131672+00:00</EndDateTime>
  <EndDateTimeDate>sample string 12</EndDateTimeDate>
  <EndDateTimeTime>sample string 13</EndDateTimeTime>
  <GlobalId>sample string 6</GlobalId>
  <IsCompleted>true</IsCompleted>
  <IsFullDay>true</IsFullDay>
  <Link>sample string 14</Link>
  <Name>sample string 7</Name>
  <Note>sample string 8</Note>
  <OrganizationId>1</OrganizationId>
  <ProjectId>1</ProjectId>
  <ProjectName>sample string 18</ProjectName>
  <StartDateTime>2025-01-16T09:19:24.5131672+00:00</StartDateTime>
  <StartDateTimeDate>sample string 10</StartDateTimeDate>
  <StartDateTimeTime>sample string 11</StartDateTimeTime>
  <SupplierId>1</SupplierId>
  <SupplierName>sample string 19</SupplierName>
  <UpdateType>sample string 1</UpdateType>
  <UpdatedBy>sample string 4</UpdatedBy>
  <UpdatedDate>2025-01-16T09:19:24.5131672+00:00</UpdatedDate>
</Activity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Activity
NameDescriptionTypeAdditional information
UpdateType

string

None.

ActivityId

integer

None.

ActivityTypeId

integer

None.

ActivityType

string

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

GlobalId

string

None.

Name

string

None.

Note

string

None.

CustomerId

integer

None.

CustomerName

string

None.

StartDateTime

date

None.

StartDateTimeDate

string

None.

StartDateTimeTime

string

None.

EndDateTime

date

None.

EndDateTimeDate

string

None.

EndDateTimeTime

string

None.

OrganizationId

integer

None.

Link

string

None.

IsCompleted

boolean

None.

IsFullDay

boolean

None.

ActivityStatus

string

None.

AttachmentCount

integer

None.

SupplierId

integer

None.

AssignedTo

integer

None.

ProjectId

integer

None.

AssignedToName

string

None.

ActivityStatusId

integer

None.

ProjectName

string

None.

SupplierName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UpdateType": "sample string 1",
  "ActivityId": 2,
  "ActivityTypeId": 1,
  "ActivityType": "sample string 3",
  "UpdatedDate": "2025-01-16T09:19:24.5131672+00:00",
  "UpdatedBy": "sample string 4",
  "CreatedBy": "sample string 5",
  "CreatedDate": "2025-01-16T09:19:24.5131672+00:00",
  "GlobalId": "sample string 6",
  "Name": "sample string 7",
  "Note": "sample string 8",
  "CustomerId": 1,
  "CustomerName": "sample string 9",
  "StartDateTime": "2025-01-16T09:19:24.5131672+00:00",
  "StartDateTimeDate": "sample string 10",
  "StartDateTimeTime": "sample string 11",
  "EndDateTime": "2025-01-16T09:19:24.5131672+00:00",
  "EndDateTimeDate": "sample string 12",
  "EndDateTimeTime": "sample string 13",
  "OrganizationId": 1,
  "Link": "sample string 14",
  "IsCompleted": true,
  "IsFullDay": true,
  "ActivityStatus": "sample string 15",
  "AttachmentCount": 1,
  "SupplierId": 1,
  "AssignedTo": 1,
  "ProjectId": 1,
  "AssignedToName": "sample string 16",
  "ActivityStatusId": 17,
  "ProjectName": "sample string 18",
  "SupplierName": "sample string 19"
}

application/xml, text/xml

Sample:
<Activity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <ActivityId>2</ActivityId>
  <ActivityStatus>sample string 15</ActivityStatus>
  <ActivityStatusId>17</ActivityStatusId>
  <ActivityType>sample string 3</ActivityType>
  <ActivityTypeId>1</ActivityTypeId>
  <AssignedTo>1</AssignedTo>
  <AssignedToName>sample string 16</AssignedToName>
  <AttachmentCount>1</AttachmentCount>
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedDate>2025-01-16T09:19:24.5131672+00:00</CreatedDate>
  <CustomerId>1</CustomerId>
  <CustomerName>sample string 9</CustomerName>
  <EndDateTime>2025-01-16T09:19:24.5131672+00:00</EndDateTime>
  <EndDateTimeDate>sample string 12</EndDateTimeDate>
  <EndDateTimeTime>sample string 13</EndDateTimeTime>
  <GlobalId>sample string 6</GlobalId>
  <IsCompleted>true</IsCompleted>
  <IsFullDay>true</IsFullDay>
  <Link>sample string 14</Link>
  <Name>sample string 7</Name>
  <Note>sample string 8</Note>
  <OrganizationId>1</OrganizationId>
  <ProjectId>1</ProjectId>
  <ProjectName>sample string 18</ProjectName>
  <StartDateTime>2025-01-16T09:19:24.5131672+00:00</StartDateTime>
  <StartDateTimeDate>sample string 10</StartDateTimeDate>
  <StartDateTimeTime>sample string 11</StartDateTimeTime>
  <SupplierId>1</SupplierId>
  <SupplierName>sample string 19</SupplierName>
  <UpdateType>sample string 1</UpdateType>
  <UpdatedBy>sample string 4</UpdatedBy>
  <UpdatedDate>2025-01-16T09:19:24.5131672+00:00</UpdatedDate>
</Activity>