Needio.Services

<back to all web services

GetReturnRecordRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Trans/GetReturnRecord/
GetReturnRecordRequest Parameters:
NameParameterData TypeRequiredDescription
ReturnIdqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
GetReturnRecordResponse Parameters:
NameParameterData TypeRequiredDescription
TransactionReturnformTransactionReturnDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
TransactionReturnDTO Parameters:
NameParameterData TypeRequiredDescription
ReturnIdformintNo
TransIdformintNo
TransDateformDateTimeNo
DeliveryDateformDateTimeNo
ReturnDateformDateTimeNo
MessageBodyformstringNo
StatusformTransactionReturnStatusNo
AcceptRejectDateformDateTimeNo
RejectReasonIdformshort?No
RejectReasonformstringNo
TicketIdformstringNo
TransItemIdformintNo
PostIdformint?No
VariantIdformint?No
QuantityformintNo
ReturnReasonIdformshort?No
ReturnReasonformstringNo
UnitPriceformdecimalNo
TotalAmountformdecimalNo
PostHeaderformstringNo
PostDescriptionformstringNo
MessageHeaderformstringNo
MessageToformstringNo
TransactionItemformTransactionItemDTONo
TransactionReturnStatus Enum:
NameValue
Inprogress1
Approve10
Reject20
TransactionItemDTO Parameters:
NameParameterData TypeRequiredDescription
TransItemIdformintNo
StoreIdformint?No
PostIdformint?No
PostVariantIdformint?No
NameformstringNo
DescriptionformstringNo
ListPriceformdecimalNo
UnitPriceformdecimalNo
QuantityformintNo
TotalPriceformdecimalNo
MediaIdformint?No
RatedYnformboolNo
ReturnedYnformboolNo
ReturnedQuantityformintNo
AlwActformTransactionItemAlwActNo
TransactionItemAlwAct Enum:
NameValue
CanRate1
CanReturn2
GetReturnRecordResponse Parameters:
NameParameterData TypeRequiredDescription
TransactionReturnformTransactionReturnDTONo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /Trans/GetReturnRecord/ HTTP/1.1 
Host: baseservices2.needion.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ReturnId":0,"start":"\/Date(1594624531103+0300)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"TransactionReturn":{"ReturnId":0,"TransId":0,"TransDate":"\/Date(-62135596800000-0000)\/","DeliveryDate":"\/Date(-62135596800000-0000)\/","ReturnDate":"\/Date(-62135596800000-0000)\/","MessageBody":"String","Status":1,"AcceptRejectDate":"\/Date(-62135596800000-0000)\/","RejectReasonId":0,"RejectReason":"String","TicketId":"String","TransItemId":0,"PostId":0,"VariantId":0,"Quantity":0,"ReturnReasonId":0,"ReturnReason":"String","UnitPrice":0,"TotalAmount":0,"PostHeader":"String","PostDescription":"String","MessageHeader":"String","MessageTo":"String","TransactionItem":{"TransItemId":0,"StoreId":0,"PostId":0,"PostVariantId":0,"Name":"String","Description":"String","ListPrice":0,"UnitPrice":0,"Quantity":0,"TotalPrice":0,"MediaId":0,"RatedYn":false,"ReturnedYn":false,"ReturnedQuantity":0,"AlwAct":1}},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"}}