POST api/Administrator/AddStream

Request Information

URI Parameters

None.

Body Parameters

StreamModel
NameDescriptionTypeAdditional information
ID

integer

None.

StreamName

string

None.

StreamStatus

boolean

None.

CreateDate

date

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "StreamName": "sample string 2",
  "StreamStatus": true,
  "CreateDate": "2024-12-02T15:59:14.1716506+05:30",
  "Status": 3,
  "Message": "sample string 4",
  "Domain": "sample string 5"
}

application/xml

Sample:
<StreamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels">
  <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain>
  <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status>
  <CreateDate>2024-12-02T15:59:14.1716506+05:30</CreateDate>
  <ID>1</ID>
  <StreamName>sample string 2</StreamName>
  <StreamStatus>true</StreamStatus>
</StreamModel>

text/xml

Sample:
<StreamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels">
  <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain>
  <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status>
  <CreateDate>2024-12-02T15:59:14.1872456+05:30</CreateDate>
  <ID>1</ID>
  <StreamName>sample string 2</StreamName>
  <StreamStatus>true</StreamStatus>
</StreamModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.