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

Add a new prayer response

Request Information

URI Parameters

NameDescriptionTypeAdditional information
deviceID

Device ID of the device submitting this response

string

Required

prayerID

Prayer ID that should be responded to

string

Required

ipAddress

Used for logging IP Address

string

None.

Body Parameters

Prayer response object that needs to be added

PrayerResponse
NameDescriptionTypeAdditional information
ResponseID

integer

None.

Message

string

None.

Name

string

None.

Surname

string

None.

Email

string

None.

CountryCode

string

None.

Added_on

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ResponseID": 1,
  "Message": "sample string 2",
  "Name": "sample string 3",
  "Surname": "sample string 4",
  "Email": "sample string 5",
  "CountryCode": "sample string 6",
  "Added_on": "2025-09-04T15:08:36.777"
}

application/xml, text/xml

Sample:
<PrayerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPCSWS.Models">
  <Added_on>2025-09-04T15:08:36.7776311+00:00</Added_on>
  <CountryCode>sample string 6</CountryCode>
  <Email>sample string 5</Email>
  <Message>sample string 2</Message>
  <Name>sample string 3</Name>
  <ResponseID>1</ResponseID>
  <Surname>sample string 4</Surname>
</PrayerResponse>

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.