POST student-platforms/save-platforms-student-selected-by-code
Request Information
URI Parameters
None.
Body Parameters
StudentPlatFormSelected| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceToken | string |
None. |
|
| Code | string |
None. |
|
| PlatformIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceToken": "sample string 1",
"Code": "sample string 2",
"PlatformIds": [
"b2c815ea-6f21-4053-9a1f-f62da6c58c9b",
"f71f5df7-7186-4f7c-aafc-0c1483d4a5f5"
]
}
text/html
Sample:
{"DeviceToken":"sample string 1","Code":"sample string 2","PlatformIds":["b2c815ea-6f21-4053-9a1f-f62da6c58c9b","f71f5df7-7186-4f7c-aafc-0c1483d4a5f5"]}
application/xml, text/xml
Sample:
<StudentPlatFormSelected xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.Dtos.StudentPlatforms">
<Code>sample string 2</Code>
<DeviceToken>sample string 1</DeviceToken>
<PlatformIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b2c815ea-6f21-4053-9a1f-f62da6c58c9b</d2p1:guid>
<d2p1:guid>f71f5df7-7186-4f7c-aafc-0c1483d4a5f5</d2p1:guid>
</PlatformIds>
</StudentPlatFormSelected>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2"
}
text/html
Sample:
{"IsSuccess":true,"Message":"sample string 2"}
application/xml, text/xml
Sample:
<ResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PlatformAPIs.DAL.Dtos"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> </ResultDto>