POST platform/check-platform-exist

Request Information

URI Parameters

None.

Body Parameters

PlatformsDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

PlatformLink

string

None.

Code

string

None.

ImageUrl

string

None.

CheckByDeviceToken

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "0577d211-1b8a-4a83-8d01-30eb2b1dd11c",
  "Name": "sample string 2",
  "PlatformLink": "sample string 3",
  "Code": "sample string 4",
  "ImageUrl": "sample string 5",
  "CheckByDeviceToken": true
}

text/html

Sample:
{"Id":"0577d211-1b8a-4a83-8d01-30eb2b1dd11c","Name":"sample string 2","PlatformLink":"sample string 3","Code":"sample string 4","ImageUrl":"sample string 5","CheckByDeviceToken":true}

application/xml, text/xml

Sample:
<PlatformsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PlatformAPIs.DAL.Dtos.Platforms">
  <CheckByDeviceToken>true</CheckByDeviceToken>
  <Code>sample string 4</Code>
  <Id>0577d211-1b8a-4a83-8d01-30eb2b1dd11c</Id>
  <ImageUrl>sample string 5</ImageUrl>
  <Name>sample string 2</Name>
  <PlatformLink>sample string 3</PlatformLink>
</PlatformsDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponseDTOOfBoolean
NameDescriptionTypeAdditional information
Status

boolean

None.

Code

integer

None.

Message

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Code": 2,
  "Message": "sample string 3",
  "Data": true
}

text/html

Sample:
{"Status":true,"Code":2,"Message":"sample string 3","Data":true}

application/xml, text/xml

Sample:
<APIResponseDTOOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.Dtos">
  <Code>2</Code>
  <Data>true</Data>
  <Message>sample string 3</Message>
  <Status>true</Status>
</APIResponseDTOOfboolean>