POST api/AccountApi/Post_account_for_save_update

Request Information

URI Parameters

None.

Body Parameters

Account
NameDescriptionTypeAdditional information
Accode

integer

None.

AcDesc

string

None.

Compcode

integer

None.

Finyear

string

None.

EventType

string

None.

clsAccount

clsAccount

None.

clsAddress

clsAddress

None.

clsBillos

clsBillos

None.

Request Formats

application/json, text/json

Sample:
{
  "Accode": 1,
  "AcDesc": "sample string 2",
  "Compcode": 3,
  "Finyear": "sample string 4",
  "EventType": "sample string 5",
  "clsAccount": {
    "AcCode": "sample string 1",
    "AcDesc": "sample string 2",
    "RecType": "sample string 3",
    "Cash": "sample string 4",
    "GrCode": "sample string 5",
    "GrDesc": "sample string 6",
    "AcType": "sample string 7",
    "Lev": "sample string 8",
    "BSheet": "sample string 9",
    "Modif": "sample string 10",
    "OpBalance": "sample string 11",
    "DrCr": "sample string 12",
    "AliasName": "sample string 13",
    "PAcdesc": "sample string 14",
    "CloseLedger": "sample string 15",
    "Database": "sample string 16",
    "Compcode": "sample string 17",
    "EventType": "sample string 18"
  },
  "clsAddress": {
    "AcCode": "sample string 1",
    "HAcDesc": "sample string 2",
    "Address1": "sample string 3",
    "Address2": "sample string 4",
    "Address3": "sample string 5",
    "TinNo": "sample string 6",
    "PhoneOff": "sample string 7",
    "PhoneResi": "sample string 8",
    "FaxNo": "sample string 9",
    "MobileNo": "sample string 10",
    "ContPer": "sample string 11",
    "Email": "sample string 12",
    "AreaId": "sample string 13",
    "AreaName": "sample string 14",
    "CrLimit": "sample string 15",
    "PartyDiscount": "sample string 16",
    "CrDays": "sample string 17",
    "CustomerType": "sample string 18",
    "DL20B": "sample string 19",
    "DL21B": "sample string 20",
    "FlNo": "sample string 21",
    "CategoryId": "sample string 22",
    "TrpId": "sample string 23",
    "PrintAccountName": "sample string 24",
    "StateCode": "sample string 25",
    "State": "sample string 26",
    "Transmode": "sample string 27",
    "Distance": "sample string 28",
    "TCSPer": "sample string 29",
    "AdharNo": "sample string 30",
    "PanNo": "sample string 31",
    "Database": "sample string 32",
    "Compcode": "sample string 33",
    "EventType": "sample string 34",
    "StopCredit": "sample string 35",
    "CstNo": "sample string 36",
    "pincode": "sample string 37",
    "TransportMode": "sample string 38",
    "MakeId": "sample string 39"
  },
  "clsBillos": {
    "AcCode": "sample string 1",
    "Billtype": "sample string 2",
    "Billtypename": "sample string 3",
    "Narration": "sample string 4",
    "DrCr": "sample string 5",
    "DrCrName": "sample string 6",
    "DrAmt": "sample string 7",
    "CrAmt": "sample string 8",
    "BillNo": "sample string 9",
    "Database": "sample string 10",
    "Compcode": "sample string 11",
    "EventType": "sample string 12",
    "Finyear": "sample string 13",
    "vdate": "sample string 14",
    "vtype": "sample string 15",
    "vno": "sample string 16"
  }
}

application/xml, text/xml

Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <AcDesc>sample string 2</AcDesc>
  <Accode>1</Accode>
  <Compcode>3</Compcode>
  <EventType>sample string 5</EventType>
  <Finyear>sample string 4</Finyear>
  <clsAccount>
    <AcCode>sample string 1</AcCode>
    <AcDesc>sample string 2</AcDesc>
    <AcType>sample string 7</AcType>
    <AliasName>sample string 13</AliasName>
    <BSheet>sample string 9</BSheet>
    <Cash>sample string 4</Cash>
    <CloseLedger>sample string 15</CloseLedger>
    <Compcode>sample string 17</Compcode>
    <Database>sample string 16</Database>
    <DrCr>sample string 12</DrCr>
    <EventType>sample string 18</EventType>
    <GrCode>sample string 5</GrCode>
    <GrDesc>sample string 6</GrDesc>
    <Lev>sample string 8</Lev>
    <Modif>sample string 10</Modif>
    <OpBalance>sample string 11</OpBalance>
    <PAcdesc>sample string 14</PAcdesc>
    <RecType>sample string 3</RecType>
  </clsAccount>
  <clsAddress>
    <AcCode>sample string 1</AcCode>
    <Address1>sample string 3</Address1>
    <Address2>sample string 4</Address2>
    <Address3>sample string 5</Address3>
    <AdharNo>sample string 30</AdharNo>
    <AreaId>sample string 13</AreaId>
    <AreaName>sample string 14</AreaName>
    <CategoryId>sample string 22</CategoryId>
    <Compcode>sample string 33</Compcode>
    <ContPer>sample string 11</ContPer>
    <CrDays>sample string 17</CrDays>
    <CrLimit>sample string 15</CrLimit>
    <CstNo>sample string 36</CstNo>
    <CustomerType>sample string 18</CustomerType>
    <DL20B>sample string 19</DL20B>
    <DL21B>sample string 20</DL21B>
    <Database>sample string 32</Database>
    <Distance>sample string 28</Distance>
    <Email>sample string 12</Email>
    <EventType>sample string 34</EventType>
    <FaxNo>sample string 9</FaxNo>
    <FlNo>sample string 21</FlNo>
    <HAcDesc>sample string 2</HAcDesc>
    <MakeId>sample string 39</MakeId>
    <MobileNo>sample string 10</MobileNo>
    <PanNo>sample string 31</PanNo>
    <PartyDiscount>sample string 16</PartyDiscount>
    <PhoneOff>sample string 7</PhoneOff>
    <PhoneResi>sample string 8</PhoneResi>
    <PrintAccountName>sample string 24</PrintAccountName>
    <State>sample string 26</State>
    <StateCode>sample string 25</StateCode>
    <StopCredit>sample string 35</StopCredit>
    <TCSPer>sample string 29</TCSPer>
    <TinNo>sample string 6</TinNo>
    <Transmode>sample string 27</Transmode>
    <TransportMode>sample string 38</TransportMode>
    <TrpId>sample string 23</TrpId>
    <pincode>sample string 37</pincode>
  </clsAddress>
  <clsBillos>
    <AcCode>sample string 1</AcCode>
    <BillNo>sample string 9</BillNo>
    <Billtype>sample string 2</Billtype>
    <Billtypename>sample string 3</Billtypename>
    <Compcode>sample string 11</Compcode>
    <CrAmt>sample string 8</CrAmt>
    <Database>sample string 10</Database>
    <DrAmt>sample string 7</DrAmt>
    <DrCr>sample string 5</DrCr>
    <DrCrName>sample string 6</DrCrName>
    <EventType>sample string 12</EventType>
    <Finyear>sample string 13</Finyear>
    <Narration>sample string 4</Narration>
    <vdate>sample string 14</vdate>
    <vno>sample string 16</vno>
    <vtype>sample string 15</vtype>
  </clsBillos>
</Account>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.