POST api/v1/PrayerWall/Prayer?deviceID={deviceID}&ipAddress={ipAddress}

Add a new prayer

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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.

Email

string

None.

DeviceID

string

None.

DeviceType

integer

None.

NotificationToken

string

None.

WillNotify

boolean

None.

PrayerCategoryID

integer

None.

CategoryName

string

None.

PrayerCategoryConfidence

decimal number

None.

PrayerCategoryReason

string

None.

PrayerCategorySource

string

None.

PrayerCategoryDate

date

None.

ModerationConfidence

decimal number

None.

ModerationReason

string

None.

ModerationRuleFlagged

string

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-09-20T11:51:29.958",
  "Prayed": true,
  "Email": "sample string 13",
  "DeviceID": "sample string 14",
  "DeviceType": 1,
  "NotificationToken": "sample string 15",
  "WillNotify": true,
  "PrayerCategoryID": 1,
  "CategoryName": "sample string 16",
  "PrayerCategoryConfidence": 1.0,
  "PrayerCategoryReason": "sample string 17",
  "PrayerCategorySource": "sample string 18",
  "PrayerCategoryDate": "2026-09-20T11:51:29.958",
  "ModerationConfidence": 1.0,
  "ModerationReason": "sample string 19",
  "ModerationRuleFlagged": "sample string 20"
}

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-09-20T11:51:29.9582447+00:00</Added_on>
  <CategoryName>sample string 16</CategoryName>
  <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>
  <ModerationConfidence>1</ModerationConfidence>
  <ModerationReason>sample string 19</ModerationReason>
  <ModerationRuleFlagged>sample string 20</ModerationRuleFlagged>
  <Name>sample string 5</Name>
  <NotificationToken>sample string 15</NotificationToken>
  <Prayed>true</Prayed>
  <PrayerCategoryConfidence>1</PrayerCategoryConfidence>
  <PrayerCategoryDate>2026-09-20T11:51:29.9582447+00:00</PrayerCategoryDate>
  <PrayerCategoryID>1</PrayerCategoryID>
  <PrayerCategoryReason>sample string 17</PrayerCategoryReason>
  <PrayerCategorySource>sample string 18</PrayerCategorySource>
  <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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.