GET platform/get-by-code?code={code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

None.

Response Information

Resource Description

APIResponseDTOOfPlatformsDto
NameDescriptionTypeAdditional information
Status

boolean

None.

Code

integer

None.

Message

string

None.

Data

PlatformsDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Code": 2,
  "Message": "sample string 3",
  "Data": {
    "Id": "5703a7b9-19cf-4130-a577-3b3b02b907f7",
    "Name": "sample string 2",
    "PlatformLink": "sample string 3",
    "Code": "sample string 4",
    "ImageUrl": "sample string 5",
    "CheckByDeviceToken": true
  }
}

text/html

Sample:
{"Status":true,"Code":2,"Message":"sample string 3","Data":{"Id":"5703a7b9-19cf-4130-a577-3b3b02b907f7","Name":"sample string 2","PlatformLink":"sample string 3","Code":"sample string 4","ImageUrl":"sample string 5","CheckByDeviceToken":true}}

application/xml, text/xml

Sample:
<APIResponseDTOOfPlatformsDto7pYwKDKu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.Dtos">
  <Code>2</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PlatformAPIs.DAL.Dtos.Platforms">
    <d2p1:CheckByDeviceToken>true</d2p1:CheckByDeviceToken>
    <d2p1:Code>sample string 4</d2p1:Code>
    <d2p1:Id>5703a7b9-19cf-4130-a577-3b3b02b907f7</d2p1:Id>
    <d2p1:ImageUrl>sample string 5</d2p1:ImageUrl>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:PlatformLink>sample string 3</d2p1:PlatformLink>
  </Data>
  <Message>sample string 3</Message>
  <Status>true</Status>
</APIResponseDTOOfPlatformsDto7pYwKDKu>