POST api/Messages/Send

Request Information

URI Parameters

None.

Body Parameters

Message
NameDescriptionTypeAdditional information
MessageUsers

Collection of globally unique identifier

Required

MessageBody

string

Required

Request Formats

application/json, text/json

Sample:
{
  "MessageUsers": [
    "29c50623-2a60-4952-a351-81612d515074",
    "a3c9f026-fb44-4c6d-9bcd-d06ee7a1a19d"
  ],
  "MessageBody": "sample string 1"
}

application/xml, text/xml

Sample:
<Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Notifications">
  <MessageBody>sample string 1</MessageBody>
  <MessageUsers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>29c50623-2a60-4952-a351-81612d515074</d2p1:guid>
    <d2p1:guid>a3c9f026-fb44-4c6d-9bcd-d06ee7a1a19d</d2p1:guid>
  </MessageUsers>
</Message>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfBoolean
NameDescriptionTypeAdditional information
Result

boolean

None.

ErrorCode

ServiceErrorCode

None.

ErrorMessage

Collection of string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorCode": 0,
  "ErrorMessage": [
    "sample string 1",
    "sample string 2"
  ],
  "Success": true
}

application/xml, text/xml

Sample:
<ServiceResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Results">
  <ErrorCode>None</ErrorCode>
  <ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorMessage>
  <Success>true</Success>
  <Result>true</Result>
</ServiceResultOfboolean>