POST api/mapx/PostSaveJournalData

Request Information

URI Parameters

None.

Body Parameters

JournalData
NameDescriptionTypeAdditional information
journalHeaderData

JournalHeaderData

None.

journalPrimaryData

JournalPrimaryData

None.

journalFinancialInstDetails

JournalFinancialInstDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "journalHeaderData": {
    "CompanyCode": "sample string 1",
    "TransType": "sample string 2",
    "BranchCode": "sample string 3",
    "UserId": "sample string 4"
  },
  "journalPrimaryData": {
    "DocumentNoPrefix": "sample string 1",
    "DocumentNo": 2,
    "Date": 3,
    "Time": "sample string 4",
    "ReferenceDocType": "sample string 5",
    "ReferenceDocNo": "sample string 6",
    "ReferenceDocDate": 7,
    "DocumentType": "sample string 8",
    "PartyType": "sample string 9",
    "PartyIdType": "sample string 10",
    "PartyIdCode": "sample string 11",
    "SalespersonCode": "sample string 12",
    "NetAmount": 13.1,
    "TranNotes": "sample string 14"
  },
  "journalFinancialInstDetails": {
    "PaymentMode": "sample string 1",
    "InstNo": "sample string 2",
    "InstDate": 3,
    "ApprovalNo": "sample string 4",
    "InstBank": "sample string 5",
    "NoofEMI": 6,
    "BankAccount": "sample string 7",
    "Amount": 8.1
  }
}

application/xml, text/xml

Sample:
<JournalData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebAPI.Models.Journals">
  <journalFinancialInstDetails>
    <Amount>8.1</Amount>
    <ApprovalNo>sample string 4</ApprovalNo>
    <BankAccount>sample string 7</BankAccount>
    <InstBank>sample string 5</InstBank>
    <InstDate>3</InstDate>
    <InstNo>sample string 2</InstNo>
    <NoofEMI>6</NoofEMI>
    <PaymentMode>sample string 1</PaymentMode>
  </journalFinancialInstDetails>
  <journalHeaderData>
    <BranchCode>sample string 3</BranchCode>
    <CompanyCode>sample string 1</CompanyCode>
    <TransType>sample string 2</TransType>
    <UserId>sample string 4</UserId>
  </journalHeaderData>
  <journalPrimaryData>
    <Date>3</Date>
    <DocumentNo>2</DocumentNo>
    <DocumentNoPrefix>sample string 1</DocumentNoPrefix>
    <DocumentType>sample string 8</DocumentType>
    <NetAmount>13.1</NetAmount>
    <PartyIdCode>sample string 11</PartyIdCode>
    <PartyIdType>sample string 10</PartyIdType>
    <PartyType>sample string 9</PartyType>
    <ReferenceDocDate>7</ReferenceDocDate>
    <ReferenceDocNo>sample string 6</ReferenceDocNo>
    <ReferenceDocType>sample string 5</ReferenceDocType>
    <SalespersonCode>sample string 12</SalespersonCode>
    <Time>sample string 4</Time>
    <TranNotes>sample string 14</TranNotes>
  </journalPrimaryData>
</JournalData>

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.