POST api/SendMessageToFCM?VendorID={VendorID}&VendorPassword={VendorPassword}&APIGUID={APIGUID}
Firebase Message Controller
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
VendorID | string |
Required |
|
VendorPassword | string |
Required |
|
APIGUID | string |
Required |
Body Parameters
Strucuture of communication request
SendRequestName | Description | Type | Additional information |
---|---|---|---|
EmployeeKey | integer |
None. |
|
DeliverFrom | string |
None. |
|
Subject | string |
None. |
|
Body | string |
None. |
|
TextMessage | string |
None. |
|
HTMLTemplate | string |
None. |
|
DeliveryTime | date |
None. |
|
DeliverCC | string |
None. |
|
DeliverTo | Collection of Delivery |
None. |
|
Attachments | Collection of Attachment |
None. |
|
WebFormType | integer |
None. |
|
WebFormParentKey | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeKey": 1, "DeliverFrom": "sample string 2", "Subject": "sample string 3", "Body": "sample string 4", "TextMessage": "sample string 5", "HTMLTemplate": "sample string 6", "DeliveryTime": "2025-04-03T21:45:58.6299207-05:00", "DeliverCC": "sample string 8", "DeliverTo": [ { "ResidentKey": 1, "ParentKey": 2, "ResidentNoteKey": 3, "ToAddress": "sample string 4", "ToDeviceType": "sample string 5", "Subject": "sample string 6", "Body": "sample string 7", "TextMessage": "sample string 8" }, { "ResidentKey": 1, "ParentKey": 2, "ResidentNoteKey": 3, "ToAddress": "sample string 4", "ToDeviceType": "sample string 5", "Subject": "sample string 6", "Body": "sample string 7", "TextMessage": "sample string 8" } ], "Attachments": [ { "FileName": "sample string 1", "ImageBase64": "sample string 2" }, { "FileName": "sample string 1", "ImageBase64": "sample string 2" } ], "WebFormType": 9, "WebFormParentKey": 10 }
application/xml, text/xml
Sample:
<SendRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMSRXChange.DataClassesCommunicationRequest"> <Attachments> <Attachment> <FileName>sample string 1</FileName> <ImageBase64>sample string 2</ImageBase64> </Attachment> <Attachment> <FileName>sample string 1</FileName> <ImageBase64>sample string 2</ImageBase64> </Attachment> </Attachments> <Body>sample string 4</Body> <DeliverCC>sample string 8</DeliverCC> <DeliverFrom>sample string 2</DeliverFrom> <DeliverTo> <Delivery> <Body>sample string 7</Body> <ParentKey>2</ParentKey> <ResidentKey>1</ResidentKey> <ResidentNoteKey>3</ResidentNoteKey> <Subject>sample string 6</Subject> <TextMessage>sample string 8</TextMessage> <ToAddress>sample string 4</ToAddress> <ToDeviceType>sample string 5</ToDeviceType> </Delivery> <Delivery> <Body>sample string 7</Body> <ParentKey>2</ParentKey> <ResidentKey>1</ResidentKey> <ResidentNoteKey>3</ResidentNoteKey> <Subject>sample string 6</Subject> <TextMessage>sample string 8</TextMessage> <ToAddress>sample string 4</ToAddress> <ToDeviceType>sample string 5</ToDeviceType> </Delivery> </DeliverTo> <DeliveryTime>2025-04-03T21:45:58.6299207-05:00</DeliveryTime> <EmployeeKey>1</EmployeeKey> <HTMLTemplate>sample string 6</HTMLTemplate> <Subject>sample string 3</Subject> <TextMessage>sample string 5</TextMessage> <WebFormParentKey>10</WebFormParentKey> <WebFormType>9</WebFormType> </SendRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |