Needio.Services

<back to all web services

GetReturnRecordRequest

Requires Authentication
Required role:Approved
The following routes are available for this service:
All Verbs/Trans/GetReturnRecord/
GetReturnRecordRequest Parameters:
NameParameterData TypeRequiredDescription
ReturnIdqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
GetReturnRecordResponse Parameters:
NameParameterData TypeRequiredDescription
TransactionReturnformTransactionReturnDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
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
AllowReturnformboolNo
AllowedReturnDateformDateTime?No
ReturnCountformintNo
MediaUrlformstringNo
CategoryformstringNo
PaidPriceformdecimal?No
DiscountAmountformdecimal?No
MessageformstringNo
NetUnitPriceformdecimal?No
NetTotalPriceformdecimal?No
CampaignIdformint?No
ItemDataformstringNo
SerialNumberformstringNo
TransactionItemAlwAct Enum:
NameValue
CanRate1
CanReturn2
ShowReturnInfo4
AllowSerialNumber8
GetReturnRecordResponse Parameters:
NameParameterData TypeRequiredDescription
TransactionReturnformTransactionReturnDTONo

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

HTTP + CSV

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: baseservices.needion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ReturnId":0,"start":"\/Date(1638627196203+0300)\/","DeviceUUID":"String","APIKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
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,"AllowReturn":false,"AllowedReturnDate":"\/Date(-62135596800000-0000)\/","ReturnCount":0,"MediaUrl":"String","Category":"String","PaidPrice":0,"DiscountAmount":0,"Message":"String","NetUnitPrice":0,"NetTotalPrice":0,"CampaignId":0,"ItemData":"String","SerialNumber":"String"}},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}