POST api/AccountApi/Post_account_for_save_update
Request Information
URI Parameters
None.
Body Parameters
AccountName | Description | Type | Additional information |
---|---|---|---|
Accode | integer |
None. |
|
AcDesc | string |
None. |
|
Compcode | integer |
None. |
|
Finyear | string |
None. |
|
EventType | string |
None. |
|
clsAccount | clsAccount |
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", "ShortName": "sample string 14", "PAcdesc": "sample string 15", "CloseLedger": "sample string 16", "Address1": "sample string 17", "Address2": "sample string 18", "Address3": "sample string 19", "GSTIN": "sample string 20", "PhoneOff": "sample string 21", "PhoneResi": "sample string 22", "PanNo": "sample string 23", "MobileNo": "sample string 24", "ContPer": "sample string 25", "Email": "sample string 26", "CityId": "sample string 27", "CityName": "sample string 28", "CrLimit": "sample string 29", "PartyDiscount": "sample string 30", "CrDays": "sample string 31", "CustomerType": "sample string 32", "StopCredit": "sample string 33", "AdharNo": "sample string 34", "CategoryId": "sample string 35", "TrpId": "sample string 36", "PrintAccountName": "sample string 37", "StateCode": "sample string 38", "State": "sample string 39", "pincode": "sample string 40", "Distance": "sample string 41", "TransportMode": "sample string 42", "DL20B": "sample string 43", "DL21B": "sample string 44", "FlNo": "sample string 45", "TCSPer": "sample string 46", "BeatId": "sample string 47", "BeatName": "sample string 48", "RegisterGST": "sample string 49", "MakeId": "sample string 50", "Database": "sample string 51", "Compcode": "sample string 52", "EventType": "sample string 53" }, "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> <Address1>sample string 17</Address1> <Address2>sample string 18</Address2> <Address3>sample string 19</Address3> <AdharNo>sample string 34</AdharNo> <AliasName>sample string 13</AliasName> <BSheet>sample string 9</BSheet> <BeatId>sample string 47</BeatId> <BeatName>sample string 48</BeatName> <Cash>sample string 4</Cash> <CategoryId>sample string 35</CategoryId> <CityId>sample string 27</CityId> <CityName>sample string 28</CityName> <CloseLedger>sample string 16</CloseLedger> <Compcode>sample string 52</Compcode> <ContPer>sample string 25</ContPer> <CrDays>sample string 31</CrDays> <CrLimit>sample string 29</CrLimit> <CustomerType>sample string 32</CustomerType> <DL20B>sample string 43</DL20B> <DL21B>sample string 44</DL21B> <Database>sample string 51</Database> <Distance>sample string 41</Distance> <DrCr>sample string 12</DrCr> <Email>sample string 26</Email> <EventType>sample string 53</EventType> <FlNo>sample string 45</FlNo> <GSTIN>sample string 20</GSTIN> <GrCode>sample string 5</GrCode> <GrDesc>sample string 6</GrDesc> <Lev>sample string 8</Lev> <MakeId>sample string 50</MakeId> <MobileNo>sample string 24</MobileNo> <Modif>sample string 10</Modif> <OpBalance>sample string 11</OpBalance> <PAcdesc>sample string 15</PAcdesc> <PanNo>sample string 23</PanNo> <PartyDiscount>sample string 30</PartyDiscount> <PhoneOff>sample string 21</PhoneOff> <PhoneResi>sample string 22</PhoneResi> <PrintAccountName>sample string 37</PrintAccountName> <RecType>sample string 3</RecType> <RegisterGST>sample string 49</RegisterGST> <ShortName>sample string 14</ShortName> <State>sample string 39</State> <StateCode>sample string 38</StateCode> <StopCredit>sample string 33</StopCredit> <TCSPer>sample string 46</TCSPer> <TransportMode>sample string 42</TransportMode> <TrpId>sample string 36</TrpId> <pincode>sample string 40</pincode> </clsAccount> <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
ApiResponseName | Description | Type | Additional information |
---|---|---|---|
status | boolean |
None. |
|
statuscode | HttpStatusCode |
None. |
|
title | string |
None. |
|
message | string |
None. |
|
data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": true, "statuscode": 100, "title": "sample string 2", "message": "sample string 3", "data": {} }
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_"> <data /> <message>sample string 3</message> <status>true</status> <statuscode>Continue</statuscode> <title>sample string 2</title> </ApiResponse>