POST api/WebPortal/Receipt/insertData

Request Information

URI Parameters

None.

Body Parameters

WebPortalIGeniusReponse
NameDescriptionTypeAdditional information
BranchId

integer

None.

EnquiryId

integer

None.

GradeIds

string

None.

productinfo

string

None.

firstname

string

None.

PaymentId

string

None.

amount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchId": 1,
  "EnquiryId": 2,
  "GradeIds": "sample string 3",
  "productinfo": "sample string 4",
  "firstname": "sample string 5",
  "PaymentId": "sample string 6",
  "amount": "sample string 7"
}

application/xml, text/xml

Sample:
<WebPortalIGeniusReponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <BranchId>1</BranchId>
  <EnquiryId>2</EnquiryId>
  <GradeIds>sample string 3</GradeIds>
  <PaymentId>sample string 6</PaymentId>
  <amount>sample string 7</amount>
  <firstname>sample string 5</firstname>
  <productinfo>sample string 4</productinfo>
</WebPortalIGeniusReponse>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WebPortalIGeniusReponse'.

Response Information

Resource Description

WebPortalIGeniusReponseDto
NameDescriptionTypeAdditional information
CustomerName

string

None.

ProductInfo

string

None.

Amount

string

None.

SuccessTransId

string

None.

Status

string

None.

PaymentDate

date

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerName": "sample string 1",
  "ProductInfo": "sample string 2",
  "Amount": "sample string 3",
  "SuccessTransId": "sample string 4",
  "Status": "sample string 5",
  "PaymentDate": "2022-08-19T05:10:09.9174469+05:30",
  "ErrorMessage": "sample string 7"
}

application/xml, text/xml

Sample:
<WebPortalIGeniusReponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <Amount>sample string 3</Amount>
  <CustomerName>sample string 1</CustomerName>
  <ErrorMessage>sample string 7</ErrorMessage>
  <PaymentDate>2022-08-19T05:10:09.9174469+05:30</PaymentDate>
  <ProductInfo>sample string 2</ProductInfo>
  <Status>sample string 5</Status>
  <SuccessTransId>sample string 4</SuccessTransId>
</WebPortalIGeniusReponseDto>