POST api/ediinvoice/approveEdiInovice
Request Information
URI Parameters
None.
Body Parameters
EdiApproveInvoiceRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| InvPayNo | integer |
None. |
|
| InvPayAmt | decimal number |
None. |
|
| Originator | string |
None. |
|
| LogedOriginator | string |
None. |
|
| IsAuthorizing | boolean |
None. |
|
| CostYear | integer |
None. |
|
| CostPeriod | integer |
None. |
|
| CompanyCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"InvPayNo": 2,
"InvPayAmt": 3.0,
"Originator": "sample string 4",
"LogedOriginator": "sample string 5",
"IsAuthorizing": true,
"CostYear": 7,
"CostPeriod": 8,
"CompanyCode": "sample string 9"
}
text/xml
Sample:
<EdiApproveInvoiceRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.AppService.DTOs.Requests"> <CompanyCode>sample string 9</CompanyCode> <CostPeriod>8</CostPeriod> <CostYear>7</CostYear> <Id>1</Id> <InvPayAmt>3</InvPayAmt> <InvPayNo>2</InvPayNo> <IsAuthorizing>true</IsAuthorizing> <LogedOriginator>sample string 5</LogedOriginator> <Originator>sample string 4</Originator> </EdiApproveInvoiceRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |