PUT api/v2.0/ExternalActivity/Update

Request Information

URI Parameters

None.

Body Parameters

ExternalActivity
NameDescriptionTypeAdditional information
ExternalActivityKey

The UniqueIdentifier for the External Activity Record.

globally unique identifier

None.

ExternalActivityTypeKey

Optional. Uniqueidentifier. Our key to the type. Required unless LegacyActivityTypeKey is supplied.

globally unique identifier

None.

LegacyActivityTypeKey

Optional. Nvarchar(100). The caller’s key to the type. Required unless ActivityTypeKey is supplied. If supplied, used to lookup ActivityTypeKey in ActivityTypeRef.

string

None.

ContactKey

Optional. Uniqueidentifier. Our key to the contact affected. Required unless LegacyContactKey is supplied.

globally unique identifier

None.

LegacyContactKey

Optional. Nvarchar(100). The caller’s key to the contact affected. Required unless ContactKey is supplied. If supplied, used to lookup ContactKey in Contact.

string

None.

ActivityDateTime

Required. Datetime. The date and time the activity occurred.

date

None.

ActivityTitle

Required. nvarchar(500). The title of the activity.

string

None.

ActivityDetails

Optional. nvarchar(max). Any details the caller wants to include to describe the activity.

string

None.

ActivityUrl

Optional. nvarchar(500). An absolute URL linking to the caller’s view of the activity

string

None.

LegacyActivityKey

Optional. nvarchar(100).The caller’s key to the activity. Used for future updates and deletes.

string

None.

Date1

Optional. Datetime. A date and time that is associated with the activity and defined by the type.

date

None.

Date2

Optional. Datetime. A date and time that is associated with the activity and defined by the type.

date

None.

Date3

Optional. Datetime. A date and time that is associated with the activity and defined by the type.

date

None.

Number1

Optional. decimal(12,2). A numeric value that is associated with the activity and defined by the type.

decimal number

None.

Number2

Optional. decimal(12,2). A numeric value that is associated with the activity and defined by the type.

decimal number

None.

Number3

Optional. decimal(12,2). A numeric value that is associated with the activity and defined by the type.

decimal number

None.

Text1

Optional. nvarchar(max). A string value that is associated with the activity and defined by the type.

string

None.

Text2

Optional. nvarchar(max). A string value that is associated with the activity and defined by the type.

string

None.

Text3

Optional. nvarchar(max). A string value that is associated with the activity and defined by the type.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ExternalActivityKey": "593a7ca9-11f4-4bb8-ac29-5583ed7358d9",
  "ExternalActivityTypeKey": "a7a4d187-8a30-47ab-bf0e-7ad0d68ea9d9",
  "LegacyActivityTypeKey": "sample string 3",
  "ContactKey": "508b4bdf-8285-450a-8502-706be4247c64",
  "LegacyContactKey": "sample string 4",
  "ActivityDateTime": "2024-12-14T13:37:07.5769994Z",
  "ActivityTitle": "sample string 6",
  "ActivityDetails": "sample string 7",
  "ActivityUrl": "sample string 8",
  "LegacyActivityKey": "sample string 9",
  "Date1": "2024-12-14T13:37:07.5769994Z",
  "Date2": "2024-12-14T13:37:07.5769994Z",
  "Date3": "2024-12-14T13:37:07.5769994Z",
  "Number1": 1.0,
  "Number2": 1.0,
  "Number3": 1.0,
  "Text1": "sample string 10",
  "Text2": "sample string 11",
  "Text3": "sample string 12"
}

application/xml, text/xml

Sample:
<ExternalActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.ExternalActivity">
  <ActivityDateTime>2024-12-14T08:37:07.5769994-05:00</ActivityDateTime>
  <ActivityDetails>sample string 7</ActivityDetails>
  <ActivityTitle>sample string 6</ActivityTitle>
  <ActivityUrl>sample string 8</ActivityUrl>
  <ContactKey>508b4bdf-8285-450a-8502-706be4247c64</ContactKey>
  <Date1>2024-12-14T08:37:07.5769994-05:00</Date1>
  <Date2>2024-12-14T08:37:07.5769994-05:00</Date2>
  <Date3>2024-12-14T08:37:07.5769994-05:00</Date3>
  <ExternalActivityKey>593a7ca9-11f4-4bb8-ac29-5583ed7358d9</ExternalActivityKey>
  <ExternalActivityTypeKey>a7a4d187-8a30-47ab-bf0e-7ad0d68ea9d9</ExternalActivityTypeKey>
  <LegacyActivityKey>sample string 9</LegacyActivityKey>
  <LegacyActivityTypeKey>sample string 3</LegacyActivityTypeKey>
  <LegacyContactKey>sample string 4</LegacyContactKey>
  <Number1>1</Number1>
  <Number2>1</Number2>
  <Number3>1</Number3>
  <Text1>sample string 10</Text1>
  <Text2>sample string 11</Text2>
  <Text3>sample string 12</Text3>
</ExternalActivity>

Response Information

Resource Description

ExternalActivity
NameDescriptionTypeAdditional information
ExternalActivityKey

The UniqueIdentifier for the External Activity Record.

globally unique identifier

None.

ExternalActivityTypeKey

Optional. Uniqueidentifier. Our key to the type. Required unless LegacyActivityTypeKey is supplied.

globally unique identifier

None.

LegacyActivityTypeKey

Optional. Nvarchar(100). The caller’s key to the type. Required unless ActivityTypeKey is supplied. If supplied, used to lookup ActivityTypeKey in ActivityTypeRef.

string

None.

ContactKey

Optional. Uniqueidentifier. Our key to the contact affected. Required unless LegacyContactKey is supplied.

globally unique identifier

None.

LegacyContactKey

Optional. Nvarchar(100). The caller’s key to the contact affected. Required unless ContactKey is supplied. If supplied, used to lookup ContactKey in Contact.

string

None.

ActivityDateTime

Required. Datetime. The date and time the activity occurred.

date

None.

ActivityTitle

Required. nvarchar(500). The title of the activity.

string

None.

ActivityDetails

Optional. nvarchar(max). Any details the caller wants to include to describe the activity.

string

None.

ActivityUrl

Optional. nvarchar(500). An absolute URL linking to the caller’s view of the activity

string

None.

LegacyActivityKey

Optional. nvarchar(100).The caller’s key to the activity. Used for future updates and deletes.

string

None.

Date1

Optional. Datetime. A date and time that is associated with the activity and defined by the type.

date

None.

Date2

Optional. Datetime. A date and time that is associated with the activity and defined by the type.

date

None.

Date3

Optional. Datetime. A date and time that is associated with the activity and defined by the type.

date

None.

Number1

Optional. decimal(12,2). A numeric value that is associated with the activity and defined by the type.

decimal number

None.

Number2

Optional. decimal(12,2). A numeric value that is associated with the activity and defined by the type.

decimal number

None.

Number3

Optional. decimal(12,2). A numeric value that is associated with the activity and defined by the type.

decimal number

None.

Text1

Optional. nvarchar(max). A string value that is associated with the activity and defined by the type.

string

None.

Text2

Optional. nvarchar(max). A string value that is associated with the activity and defined by the type.

string

None.

Text3

Optional. nvarchar(max). A string value that is associated with the activity and defined by the type.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ExternalActivityKey": "9ee52b06-6e5b-4c9f-a5db-0ab15cd441b7",
  "ExternalActivityTypeKey": "ae0a70ed-d5e6-4316-ad0f-772e1aa382d9",
  "LegacyActivityTypeKey": "sample string 3",
  "ContactKey": "dfc836c9-cfb5-4bfd-aaad-da52b1a392d4",
  "LegacyContactKey": "sample string 4",
  "ActivityDateTime": "2024-12-14T13:37:07.5927454Z",
  "ActivityTitle": "sample string 6",
  "ActivityDetails": "sample string 7",
  "ActivityUrl": "sample string 8",
  "LegacyActivityKey": "sample string 9",
  "Date1": "2024-12-14T13:37:07.5927454Z",
  "Date2": "2024-12-14T13:37:07.5927454Z",
  "Date3": "2024-12-14T13:37:07.5927454Z",
  "Number1": 1.0,
  "Number2": 1.0,
  "Number3": 1.0,
  "Text1": "sample string 10",
  "Text2": "sample string 11",
  "Text3": "sample string 12"
}

application/xml, text/xml

Sample:
<ExternalActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.ExternalActivity">
  <ActivityDateTime>2024-12-14T08:37:07.5927454-05:00</ActivityDateTime>
  <ActivityDetails>sample string 7</ActivityDetails>
  <ActivityTitle>sample string 6</ActivityTitle>
  <ActivityUrl>sample string 8</ActivityUrl>
  <ContactKey>dfc836c9-cfb5-4bfd-aaad-da52b1a392d4</ContactKey>
  <Date1>2024-12-14T08:37:07.5927454-05:00</Date1>
  <Date2>2024-12-14T08:37:07.5927454-05:00</Date2>
  <Date3>2024-12-14T08:37:07.5927454-05:00</Date3>
  <ExternalActivityKey>9ee52b06-6e5b-4c9f-a5db-0ab15cd441b7</ExternalActivityKey>
  <ExternalActivityTypeKey>ae0a70ed-d5e6-4316-ad0f-772e1aa382d9</ExternalActivityTypeKey>
  <LegacyActivityKey>sample string 9</LegacyActivityKey>
  <LegacyActivityTypeKey>sample string 3</LegacyActivityTypeKey>
  <LegacyContactKey>sample string 4</LegacyContactKey>
  <Number1>1</Number1>
  <Number2>1</Number2>
  <Number3>1</Number3>
  <Text1>sample string 10</Text1>
  <Text2>sample string 11</Text2>
  <Text3>sample string 12</Text3>
</ExternalActivity>