POST api/MedAidArrear/Save

Request Information

URI Parameters

None.

Body Parameters

MedAidArrearSaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

FinYear

AccountFinYearLookup

Required

Category

MedAidCategoryLookupVM

Required

Member

MedAidMemberLookupVM

Required

Amount

decimal number

Required

SubscriptionAmount

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "FinYear": {
    "FinYearId": 1,
    "FinYearName": "sample string 2"
  },
  "Category": {
    "CategoryId": 1,
    "CategoryName": "sample string 2"
  },
  "Member": {
    "MemberId": 1,
    "MemberName": "sample string 2",
    "MemberCode": "sample string 3",
    "Type": {
      "TypeId": 1,
      "TypeName": "sample string 2"
    },
    "Category": {
      "CategoryId": 1,
      "CategoryName": "sample string 2"
    },
    "AccountBookTypeById": 4
  },
  "Amount": 2.0,
  "SubscriptionAmount": 3.0
}

application/xml, text/xml

Sample:
<MedAidArrearSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Amount>2</Amount>
  <BookId>1</BookId>
  <Category>
    <CategoryId>1</CategoryId>
    <CategoryName>sample string 2</CategoryName>
  </Category>
  <FinYear>
    <FinYearId>1</FinYearId>
    <FinYearName>sample string 2</FinYearName>
  </FinYear>
  <Member>
    <AccountBookTypeById>4</AccountBookTypeById>
    <Category>
      <CategoryId>1</CategoryId>
      <CategoryName>sample string 2</CategoryName>
    </Category>
    <MemberCode>sample string 3</MemberCode>
    <MemberId>1</MemberId>
    <MemberName>sample string 2</MemberName>
    <Type>
      <TypeId>1</TypeId>
      <TypeName>sample string 2</TypeName>
    </Type>
  </Member>
  <SubscriptionAmount>3</SubscriptionAmount>
</MedAidArrearSaveVM>

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.