POST api/v1/PrayerWall/Prayer?deviceID={deviceID}&ipAddress={ipAddress}
Add a new prayer
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceID |
Device ID of the device requesting this list. Used to return a yes/no value in the prayed field |
string |
Required |
| ipAddress |
Used for logging IP Address |
string |
None. |
Body Parameters
Prayer object that needs to be added
Prayer| Name | Description | Type | Additional information |
|---|---|---|---|
| PrayerID | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Status | string |
None. |
|
| Name | string |
None. |
|
| Surname | string |
None. |
|
| City | string |
None. |
|
| CountryCode | string |
None. |
|
| Response_Count | integer |
None. |
|
| Prayer_Count | integer |
None. |
|
| Prayer_url | string |
None. |
|
| Added_on | date |
None. |
|
| Prayed | boolean |
None. |
|
| string |
None. |
||
| DeviceID | string |
None. |
|
| DeviceType | integer |
None. |
|
| NotificationToken | string |
None. |
|
| WillNotify | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PrayerID": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"Status": "sample string 4",
"Name": "sample string 5",
"Surname": "sample string 6",
"City": "sample string 7",
"CountryCode": "sample string 8",
"Response_Count": 9,
"Prayer_Count": 10,
"Prayer_url": "sample string 11",
"Added_on": "2026-02-04T01:58:19.409",
"Prayed": true,
"Email": "sample string 13",
"DeviceID": "sample string 14",
"DeviceType": 1,
"NotificationToken": "sample string 15",
"WillNotify": true
}
application/xml, text/xml
Sample:
<Prayer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPCSWS.Models"> <Added_on>2026-02-04T01:58:19.4094062+00:00</Added_on> <City>sample string 7</City> <CountryCode>sample string 8</CountryCode> <Description>sample string 3</Description> <DeviceID>sample string 14</DeviceID> <DeviceType>1</DeviceType> <Email>sample string 13</Email> <Name>sample string 5</Name> <NotificationToken>sample string 15</NotificationToken> <Prayed>true</Prayed> <PrayerID>1</PrayerID> <Prayer_Count>10</Prayer_Count> <Prayer_url>sample string 11</Prayer_url> <Response_Count>9</Response_Count> <Status>sample string 4</Status> <Surname>sample string 6</Surname> <Title>sample string 2</Title> <WillNotify>true</WillNotify> </Prayer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.