PUT api/Activity/{index}/{rows}

Unchecks all activities in DS and then select the supplied activities

Request Information

URI Parameters

NameDescriptionTypeAdditional information
index

string

None.

rows

string

None.

Body Parameters

Fully populated BaseCollection object.

BaseCollection
NameDescriptionTypeAdditional information
CollectionIds

Collection of integer

Required

ContactId

integer

Required

Pcode

string

Required

Request Formats

application/json, text/json

Sample:
{
  "CollectionIds": [
    1,
    2
  ],
  "ContactId": 1,
  "Pcode": "sample string 2"
}

text/xml

Sample:
<BaseCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">
  <CollectionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CollectionIds>
  <ContactId>1</ContactId>
  <Pcode>sample string 2</Pcode>
</BaseCollection>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.