POST api/v2/profiles/{profileId}/send

Request Information

URI Parameters

NameDescriptionTypeAdditional information
profileId

integer

Required

Body Parameters

SendLinkModel
NameDescriptionTypeAdditional information
ProfileId

integer

None.

TeamIds

Collection of integer

None.

MemberIds

Collection of integer

None.

Emails

Collection of string

None.

ProfileMemberIds

Collection of integer

None.

Message

string

None.

Resend

boolean

None.

ApkUrlFunc

FuncOfStringAndString

None.

PListUrlFunc

FuncOfStringAndString

None.

IconUrlFunc

FuncOfInt32AndString

None.

Request Formats

application/json, text/json

Sample:
{
  "ProfileId": 1,
  "TeamIds": [
    1,
    2
  ],
  "MemberIds": [
    1,
    2
  ],
  "Emails": [
    "sample string 1",
    "sample string 2"
  ],
  "ProfileMemberIds": [
    1,
    2
  ],
  "Message": "sample string 2",
  "Resend": false
}

application/xml, text/xml

Sample:
<SendLinkModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smartface.EnterpriseServer.Models.Portal">
  <ApkUrlFunc xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" />
  <Emails xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Emails>
  <IconUrlFunc xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" />
  <MemberIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </MemberIds>
  <Message>sample string 2</Message>
  <PListUrlFunc xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" />
  <ProfileId>1</ProfileId>
  <ProfileMemberIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ProfileMemberIds>
  <TeamIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TeamIds>
</SendLinkModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultOfBoolean
NameDescriptionTypeAdditional information
Model

boolean

None.

ValidationErrors

Collection of ValidationResult

None.

ValidationWarnings

Collection of ValidationResult

None.

Warnings

Collection of WarningInfo

None.

Errors

Collection of ErrorInfo

None.

SuccessInfo

Collection of SuccessInfo

None.

Info

ResultInfo

None.

IsValid

boolean

None.

Model

Object

None.

Model2

Object

None.

Model3

Object

None.

ResultType

string

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smartface.Model.Message">
  <Errors>
    <ErrorInfo i:nil="true" />
    <ErrorInfo>
      <CultureInfo i:nil="true" />
      <Message i:nil="true" />
      <StatusCode i:nil="true" />
    </ErrorInfo>
  </Errors>
  <Info>
    <CultureInfo>sample string 2</CultureInfo>
    <Message>sample string 1</Message>
    <StatusCode>1</StatusCode>
  </Info>
  <Model />
  <Model2 />
  <Model3 />
  <SuccessInfo>
    <SuccessInfo>
      <CultureInfo>sample string 2</CultureInfo>
      <Message>sample string 1</Message>
      <StatusCode>1</StatusCode>
    </SuccessInfo>
    <SuccessInfo>
      <CultureInfo>sample string 2</CultureInfo>
      <Message>sample string 1</Message>
      <StatusCode>1</StatusCode>
    </SuccessInfo>
  </SuccessInfo>
  <ValidationErrors i:nil="true" />
  <ValidationWarnings i:nil="true" />
  <Warnings>
    <WarningInfo i:nil="true" />
    <WarningInfo>
      <CultureInfo i:nil="true" />
      <Message i:nil="true" />
      <StatusCode i:nil="true" />
    </WarningInfo>
  </Warnings>
  <Model xmlns:d2p1="http://www.w3.org/2001/XMLSchema" i:type="d2p1:boolean">true</Model>
</ResultOfboolean>