POST api/ParishPrayerCharges/save
Request Information
URI Parameters
None.
Body Parameters
ParishPrayerChargesSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| Prayer | ParishPrayerLookupVM |
Required |
|
| BookId | integer |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| Charges | Collection of ParishPrayerChargesByIdVM |
Required |
Request Formats
application/json, text/json
Sample:
{
"Prayer": {
"PrayerId": 1,
"PrayerName": "sample string 2"
},
"BookId": 1,
"CreateUser": 2,
"CreateIp": "sample string 3",
"Charges": [
{
"Slno": 1,
"Charges": {
"ChargeId": 1,
"ChargeName": "sample string 2"
},
"Amount": 2.0
},
{
"Slno": 1,
"Charges": {
"ChargeId": 1,
"ChargeName": "sample string 2"
},
"Amount": 2.0
}
]
}
application/xml, text/xml
Sample:
<ParishPrayerChargesSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<Charges>
<ParishPrayerChargesByIdVM>
<Amount>2</Amount>
<Charges>
<ChargeId>1</ChargeId>
<ChargeName>sample string 2</ChargeName>
</Charges>
<Slno>1</Slno>
</ParishPrayerChargesByIdVM>
<ParishPrayerChargesByIdVM>
<Amount>2</Amount>
<Charges>
<ChargeId>1</ChargeId>
<ChargeName>sample string 2</ChargeName>
</Charges>
<Slno>1</Slno>
</ParishPrayerChargesByIdVM>
</Charges>
<CreateIp>sample string 3</CreateIp>
<CreateUser>2</CreateUser>
<Prayer>
<PrayerId>1</PrayerId>
<PrayerName>sample string 2</PrayerName>
</Prayer>
</ParishPrayerChargesSaveVM>
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.