POST api/Position/{index}/{rows}

Sends the DS administrator an email to create a position in donor strategy.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
index

string

None.

rows

string

None.

Body Parameters

Contains a fully populated position object, Id or Pcode is neccessary

Position
NameDescriptionTypeAdditional information
Name

string

None.

CompanyId

integer

None.

Company

string

None.

TopLevelId

integer

None.

TopLevelName

string

None.

DisplayVisibility

string

None.

IsMainOrganisation

boolean

None.

IntOrder

integer

None.

ContactId

integer

None.

Pcode

string

None.

Ordinal

integer

None.

Id

integer

None.

LastUpdatedTimestamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "CompanyId": 1,
  "Company": "sample string 2",
  "TopLevelId": 1,
  "TopLevelName": "sample string 3",
  "DisplayVisibility": "sample string 4",
  "IsMainOrganisation": true,
  "IntOrder": 6,
  "ContactId": 7,
  "Pcode": "sample string 8",
  "Ordinal": 1,
  "Id": 9,
  "LastUpdatedTimestamp": "2024-03-28T20:37:30.672984+00:00"
}

text/xml

Sample:
<Position xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">9</Id>
  <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2024-03-28T20:37:30.672984+00:00</LastUpdatedTimestamp>
  <Ordinal xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">1</Ordinal>
  <ContactId xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">7</ContactId>
  <Pcode xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">sample string 8</Pcode>
  <Company>sample string 2</Company>
  <CompanyId>1</CompanyId>
  <DisplayVisibility>sample string 4</DisplayVisibility>
  <IntOrder>6</IntOrder>
  <IsMainOrganisation>true</IsMainOrganisation>
  <Name>sample string 1</Name>
  <TopLevelId>1</TopLevelId>
  <TopLevelName>sample string 3</TopLevelName>
</Position>

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.