POST api/ECMS/SaveInvoiceDetails
Request Information
URI Parameters
None.
Body Parameters
PaymentInfoName | Description | Type | Additional information |
---|---|---|---|
Invoice_number | string |
Required Matching regular expression pattern: ^[A-Za-z0-9_]+$ |
|
Invoice_date | string |
Required |
|
Invoice_Amount | decimal number |
None. |
|
DisbursementNumber | string |
None. |
|
DisbursementDate | string |
None. |
|
DisbursementAmount | decimal number |
Required |
|
PaymentConfirmationNo | string |
None. |
|
SP_VendorCode | string |
None. |
|
EstimateId | integer |
None. |
|
EstimateRefId | integer |
Required Matching regular expression pattern: ^[1-9]\d*$ |
|
UserId | integer |
Required Matching regular expression pattern: ^[1-9]\d*$ |
|
Forinvoice | boolean |
Required |
|
IsDisbursed | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Invoice_number": "sample string 1", "Invoice_date": "sample string 2", "Invoice_Amount": 3.0, "DisbursementNumber": "sample string 4", "DisbursementDate": "sample string 5", "DisbursementAmount": 1.0, "PaymentConfirmationNo": "sample string 6", "SP_VendorCode": "sample string 7", "EstimateId": 8, "EstimateRefId": 9, "UserId": 10, "Forinvoice": true, "IsDisbursed": true }
application/xml, text/xml
Sample:
<PaymentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomLayer.ECMS"> <DisbursementAmount>1</DisbursementAmount> <DisbursementDate>sample string 5</DisbursementDate> <DisbursementNumber>sample string 4</DisbursementNumber> <EstimateId>8</EstimateId> <EstimateRefId>9</EstimateRefId> <Forinvoice>true</Forinvoice> <Invoice_Amount>3</Invoice_Amount> <Invoice_date>sample string 2</Invoice_date> <Invoice_number>sample string 1</Invoice_number> <IsDisbursed>true</IsDisbursed> <PaymentConfirmationNo>sample string 6</PaymentConfirmationNo> <SP_VendorCode>sample string 7</SP_VendorCode> <UserId>10</UserId> </PaymentInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.