POST api/NewAssociation?createdBy={createdBy}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
createdBy

string

Required

Body Parameters

CreatedAssociation
NameDescriptionTypeAdditional information
AgentId

string

None.

AppId

string

None.

PersonalId

string

None.

CreatedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AgentId": "sample string 1",
  "AppId": "sample string 2",
  "PersonalId": "sample string 3",
  "CreatedAt": "2024-11-28T22:41:18.5292577+00:00"
}

application/xml, text/xml

Sample:
<CreatedAssociation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SDrive.ProfilePlatform.EventReceiver.Common.Messages">
  <AgentId>sample string 1</AgentId>
  <AppId>sample string 2</AppId>
  <CreatedAt>2024-11-28T22:41:18.5292577+00:00</CreatedAt>
  <PersonalId>sample string 3</PersonalId>
</CreatedAssociation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreatedAssociationResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

AgentId

AgentId

None.

AppPersonalId

AppPersonalId

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "AgentId": null,
  "AppPersonalId": null
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.