EMUN1 ASP.NET

<back to all web services

QueryCreditMemoLines

The following routes are available for this service:
All Verbs/service/QueryClaimLines/{InvoiceId}/{RequestId}
All Verbs/service/QueryClaimLines
All Verbs/service/QueryCreditMemoLines/{InvoiceId}/{RequestId}
All Verbs/service/QueryCreditMemoLines
QueryCreditMemoLines Parameters:
NameParameterData TypeRequiredDescription
RequestIdpathstringNo
InvoiceIdpathstringNo
SearchquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
CreditMemoLine Parameters:
NameParameterData TypeRequiredDescription
PositionformintNo
ProductIdformstringNo
DescriptionformstringNo
QtyOrderedformintNo
QtyShippedformintNo
PriceformdecimalNo
UOMformstringNo
IdformstringNo
InvoiceLineNumberformstringNo
ReasonCodeformstringNo
AttachmentUrlformstringNo
CommentformstringNo
QuantityformintNo
QtyReturnedformintNo
OrderedTotalformdecimalNo
ShippedTotalformdecimalNo
SubtotalformdecimalNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/QueryClaimLines/{InvoiceId}/{RequestId} HTTP/1.1 
Host: www.bernhardt.com 
Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: length

{"requestId":"String","invoiceId":"String","search":"String","skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: length

{"offset":0,"total":0,"results":[{"position":0,"productId":"String","description":"String","qtyOrdered":0,"qtyShipped":0,"price":0,"uom":"String","id":"String","invoiceLineNumber":"String","reasonCode":"String","attachmentUrl":"String","comment":"String","quantity":0,"qtyReturned":0,"orderedTotal":0,"shippedTotal":0,"subtotal":0}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}