POST api/Rep

Request Information

URI Parameters

None.

Body Parameters

RequestInfo
NameDescriptionTypeAdditional information
SessionID

string

None.

RepKey

IdentificatorDTO

None.

AppKey

IdentificatorDTO

None.

DeviceID

string

None.

LastUpdateDate

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "RepKey": {
    "ID": 1
  },
  "AppKey": {
    "ID": 1
  },
  "DeviceID": "sample string 2",
  "LastUpdateDate": 3
}

application/xml, text/xml

Sample:
<RequestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.iInteract">
  <AppKey>
    <ID>1</ID>
  </AppKey>
  <DeviceID>sample string 2</DeviceID>
  <LastUpdateDate>3</LastUpdateDate>
  <RepKey>
    <ID>1</ID>
  </RepKey>
  <SessionID>sample string 1</SessionID>
</RequestInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestInfo'.

Response Information

Resource Description

RepDTO
NameDescriptionTypeAdditional information
Key

IdentificatorDTO

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

CompleteName

string

None.

Telephone

string

None.

UserCoverPath

string

None.

CrypId

string

None.

DotNameAndSurename

string

None.

ErrorNumber

integer

None.

ErrorMessage

string

None.

ActionResult

boolean

None.

OperationResult

integer

None.

UserId

integer

None.

ClientKey

string

None.

Name

string

None.

Surname

string

None.

Email

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Key": {
    "ID": 1
  },
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "CompleteName": "sample string 4",
  "Telephone": "sample string 5",
  "UserCoverPath": "sample string 6",
  "CrypId": "sample string 7",
  "DotNameAndSurename": "sample string 8",
  "ErrorNumber": 9,
  "ErrorMessage": "sample string 10",
  "ActionResult": true,
  "OperationResult": 12,
  "UserId": 13,
  "ClientKey": "sample string 14",
  "Name": "sample string 15",
  "Surname": "sample string 16"
}

application/xml, text/xml

Sample:
<RepDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.iInteract">
  <ClientKey>sample string 14</ClientKey>
  <Email>sample string 17</Email>
  <Name>sample string 15</Name>
  <OperationResult>12</OperationResult>
  <Surname>sample string 16</Surname>
  <UserId>13</UserId>
  <ActionResult>true</ActionResult>
  <ErrorMessage>sample string 10</ErrorMessage>
  <ErrorNumber>9</ErrorNumber>
  <CompleteName>sample string 4</CompleteName>
  <CrypId>sample string 7</CrypId>
  <DotNameAndSurename>sample string 8</DotNameAndSurename>
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <Key>
    <ID>1</ID>
  </Key>
  <LastName>sample string 2</LastName>
  <Telephone>sample string 5</Telephone>
  <UserCoverPath>sample string 6</UserCoverPath>
</RepDTO>