GET api/Broadcast/{id}?name={name}&pass={pass}
Return Broadcast Message with Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Broadcast Id |
integer |
Required |
name |
Login User Name |
string |
Required |
pass |
Login Password |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Return Broadcast Message with Id
MessageName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SenderId | string |
None. |
|
Content | string |
None. |
|
DateCreated | string |
None. |
|
Mobile | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "SenderId": "sample string 2", "Content": "sample string 3", "DateCreated": "sample string 4", "Mobile": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DemoAPI.Models"> <Content>sample string 3</Content> <DateCreated>sample string 4</DateCreated> <Id>1</Id> <Mobile xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Mobile> <SenderId>sample string 2</SenderId> </Message>