Needio.Services

<back to all web services

GetMyStatementRequest

Requires Authentication
The following routes are available for this service:
All Verbs/GetMyStatement/
GetMyStatementRequest Parameters:
NameParameterData TypeRequiredDescription
statementqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
GetMyStatementResponse Parameters:
NameParameterData TypeRequiredDescription
StatementformStatementDetailDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
StatementDetailDTO Parameters:
NameParameterData TypeRequiredDescription
TransactionsformList<TransactionDTO>No
StatementDTO Parameters:
NameParameterData TypeRequiredDescription
StatementIdformintNo
StatementPeriodIdformintNo
StartDateformDateTimeNo
EndDateformDateTimeNo
PaymentDateformDateTimeNo
StatementAmountformdecimalNo
CommisionAmoutformdecimalNo
IsCompletedformboolNo
StatementPeriodformStatementPeriodDTONo
UserformUserInfoNo
StoreformStoreInfoNo
StoreIdformint?No
StatementPeriodDTO Parameters:
NameParameterData TypeRequiredDescription
StatementPeriodIdformintNo
YearformshortNo
PeriodformstringNo
StartDateformDateTimeNo
EndDateformDateTimeNo
PaymentDateformDateTimeNo
UserInfo Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
UserNameformstringNo
FirstNameformstringNo
UserFullNameformstringNo
SurnameformstringNo
NickNameformstringNo
ProfileImageformMediaDTONo
UserSocialInfoformUserSocialInfoDTONo
AvatarformstringNo
MediaDTO Parameters:
NameParameterData TypeRequiredDescription
MediaIdformint?No
MediaTypeformMediaTypesNo
SourceformstringNo
MediaFileNameformstringNo
MediaMimeformstringNo
IsMainformboolNo
RefIdformint?No
OrderNumformintNo
ActionformDBActionNo
IsDeletedformboolNo
FriendlyURLformstringNo
MediaTypes Enum:
NameValue
icon0
Image1
Video2
Youtube3
Pdf8
File9
Custom10
DBAction Enum:
NameValue
None0
Insert1
Update2
Delete3
UserSocialInfoDTO Parameters:
NameParameterData TypeRequiredDescription
AvgRateformdoubleNo
RateCountformintNo
LikeCountformintNo
BanCountformintNo
BannedCountformintNo
FollowCountformintNo
FollowedCountformintNo
ActivePostCountformintNo
ViewCountformintNo
DidUserLikeformboolNo
DidUserBanformboolNo
DidUserBannedformboolNo
DidUserRateformboolNo
DidUserFollowformboolNo
DidUserFollowedformboolNo
StoreInfo Parameters:
NameParameterData TypeRequiredDescription
StoreIdformintNo
StoreNameformstringNo
StoreHeaderformstringNo
DescriptionformstringNo
PostTypeIdformshortNo
FriendlyURLformstringNo
StoreCategory1Idformshort?No
StoreSubCategory1Idformshort?No
TransactionDTO Parameters:
NameParameterData TypeRequiredDescription
TransIdformintNo
StoreIdformintNo
PostTypeIdformintNo
SessionIdformstringNo
PaymentTypeformPaymentTypesNo
SalerformUserInfoNo
BuyerformUserInfoNo
TransDateformDateTimeNo
ApproveDateformDateTime?No
BasketTotalformdecimalNo
ShippingAmountformdecimalNo
TransAmountformdecimalNo
CommisionRateformdecimalNo
CommisionAmountformdecimalNo
StatusformTransactionStatusesNo
ChatStatusformChatStatusesNo
PaymentStatusformPaymentStatusesNo
IsInvoicedformboolNo
ReturnedYnformboolNo
ShippingCodeformstringNo
ShippingCode2formstringNo
ShippingDateformDateTime?No
ShippedDateformDateTime?No
ShippingExtentformshort?No
DeliveryStatusformshort?No
ExternalInvoiceNoformstringNo
PaymentCompletedYnformbool?No
ShippingMethodIdformshort?No
ReasonIdformshort?No
ReasonformstringNo
StoreformStoreDTONo
TransactionItemsformList<TransactionItemDTO>No
RatedYnformboolNo
AlwActformTransactionAlwActNo
DeliveryTypeformDeliveryTypesNo
AllowedReturnDateformDateTime?No
TransactionReturnsformList<TransactionReturnDTO>No
PaymentTypes Enum:
NameValue
CreditCard1
Cash11
CreditCardOnDelivery12
Mixed21
TransactionStatuses Enum:
NameValue
Draft0
InProgress1
SalerApproved11
SalerRejected12
BuyerCancelled13
SalerStartShippment16
BuyerApproved21
BuyerRejected22
ShipmentCanceled23
AdminApproved41
AdminRejected42
Completed101
ReturnedItem102
SalerFirstNotification201
SalerSecondNotification202
BuyerFirstNotification203
BuyerSecondNotification204
ChatStatuses Enum:
NameValue
Active1
WaitForSalerAction2
WaitForBuyerAction3
WaitForAdminAction4
WaitForRateAction5
WaitForShipAction6
Completed10
Archived11
Deleted99
PaymentStatuses Enum:
NameValue
Unknown0
InProgress1
Approved2
Refunded3
Cancelled4
StoreDTO Parameters:
NameParameterData TypeRequiredDescription
StoreIdformintNo
StoreNameformstringNo
StoreHeaderformstringNo
SummaryformstringNo
DescriptionformstringNo
PostTypeIdformshortNo
LocationformGeoLocationNo
BadgesformList<ItemBadgeDTO>No
MainMediaformMediaDTONo
SocialInfoformItemSocialInfoDTONo
StoreStatusformItemStatusesNo
StoreStateformItemStatesNo
UserIdformintNo
OwnerformUserInfoNo
ActionformDBActionNo
SaleLocalYnformboolNo
SaleCountryYnformboolNo
DeliveryToAddressYnformboolNo
DeliveryInStoreYnformboolNo
DeliveryByCargoformboolNo
OpenYnformboolNo
ShippingPriceYnformboolNo
ShippingAmountformdecimal?No
ShippingUpperLimitformdecimal?No
ShippingUpperAmountformdecimal?No
MaxDistanceformshort?No
DistanceformdoubleNo
MapAvatarformstringNo
StartDateformDateTime?No
EndDateformDateTime?No
OpenHoursformWeekOpenHoursNo
AlwActformintNo
MinAmountForOrderformdecimal?No
AverageServiceTimeformshort?No
ClosedYnformboolNo
FriendlyURLformstringNo
CategoryIdformshortNo
CategoryKeyformstringNo
ChatMethodformChatMethodsNo
AllowPaymentOnAddresformboolNo
AllowedPaymentsformstringNo
AttributeDataformstringNo
AttributeMetaformstringNo
GeoAddressformstringNo
VersionStatusformVersionStatusNo
BlockedYnformboolNo
EmailformstringNo
PhoneformstringNo
GeoLocation Parameters:
NameParameterData TypeRequiredDescription
LonformstringNo
LatformstringNo
GeoAddressformstringNo
IsDeletedformboolNo
ItemBadgeDTO Parameters:
NameParameterData TypeRequiredDescription
BadgeIdformintNo
ItemIdformintNo
BadgeTypeIdformshortNo
StartDateformDateTime?No
EndDateformDateTime?No
Priortyformshort?No
ActiveYnformboolNo
ItemSocialInfoDTO Parameters:
NameParameterData TypeRequiredDescription
AvgRateformdecimalNo
RateCountformintNo
Rate1CountformintNo
Rate2CountformintNo
Rate3CountformintNo
Rate4CountformintNo
Rate5CountformintNo
LikeCountformintNo
FollowCountformintNo
ViewCountformintNo
DidUserLikeformboolNo
DidUserRateformboolNo
DidUserFollowformboolNo
CanBeSharedformboolNo
ScoreformshortNo
ApprovedDateformDateTime?No
ItemStatuses Enum:
NameValue
Draft0
Pending1
Rejected2
Published10
Archived11
Blocked12
Deleted99
ItemStates Enum:
NameValue
New0
Exist10
Archived11
Bloked12
Deleted99
WeekOpenHours Parameters:
NameParameterData TypeRequiredDescription
OpenHoursIdformint?No
Open7x24formboolNo
OfflinePOYnformboolNo
Day1formDayOpenHoursNo
Day2formDayOpenHoursNo
Day3formDayOpenHoursNo
Day4formDayOpenHoursNo
Day5formDayOpenHoursNo
Day6formDayOpenHoursNo
Day7formDayOpenHoursNo
ActionformDBActionNo
DayOpenHours Parameters:
NameParameterData TypeRequiredDescription
OpenHourIdformintNo
WeekDayformintNo
IsOpenformboolNo
StartformTimeSpan?No
EndformTimeSpan?No
ChatMethods Enum:
NameValue
NoChat0
Allowed1
External2
VersionStatus Enum:
NameValue
AddOrEdit1
Approved2
DeleteRequest3
Deleted4
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
TransactionItemAlwAct Enum:
NameValue
CanRate1
CanReturn2
TransactionAlwAct Enum:
NameValue
ActionRequired1
SalerReject2
SalerApprove4
SalerApproveByCode8
SalerShipping16
SalerExtendShippingDate32
ShowBuyerInvoiceInfo64
BuyerReturn128
BuyerCancel256
BuyerApprov512
BuyerReject1024
BuyerRateStore2048
ShowCargoInfo4096
DeliveryTypes Enum:
NameValue
None0
DeliveryToAddress1
DeliveryInStore2
DeliveryByCargo4
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
GetMyStatementResponse Parameters:
NameParameterData TypeRequiredDescription
StatementformStatementDetailDTONo

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 /GetMyStatement/ HTTP/1.1 
Host: baseservices2.needion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"statement":0,"start":"\/Date(1601104942088+0300)\/","DeviceUUID":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Statement":{"Transactions":[{"TransId":0,"StoreId":0,"PostTypeId":0,"SessionId":"String","PaymentType":1,"Saler":{"UserId":0,"UserName":"String","FirstName":"String","UserFullName":"String","Surname":"String","NickName":"String","ProfileImage":{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"},"UserSocialInfo":{"AvgRate":0,"RateCount":0,"LikeCount":0,"BanCount":0,"BannedCount":0,"FollowCount":0,"FollowedCount":0,"ActivePostCount":0,"ViewCount":0,"DidUserLike":false,"DidUserBan":false,"DidUserBanned":false,"DidUserRate":false,"DidUserFollow":false,"DidUserFollowed":false},"Avatar":"String"},"Buyer":{"UserId":0,"UserName":"String","FirstName":"String","UserFullName":"String","Surname":"String","NickName":"String","ProfileImage":{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"},"UserSocialInfo":{"AvgRate":0,"RateCount":0,"LikeCount":0,"BanCount":0,"BannedCount":0,"FollowCount":0,"FollowedCount":0,"ActivePostCount":0,"ViewCount":0,"DidUserLike":false,"DidUserBan":false,"DidUserBanned":false,"DidUserRate":false,"DidUserFollow":false,"DidUserFollowed":false},"Avatar":"String"},"TransDate":"\/Date(-62135596800000-0000)\/","ApproveDate":"\/Date(-62135596800000-0000)\/","BasketTotal":0,"ShippingAmount":0,"TransAmount":0,"CommisionRate":0,"CommisionAmount":0,"Status":0,"ChatStatus":1,"PaymentStatus":0,"IsInvoiced":false,"ReturnedYn":false,"ShippingCode":"String","ShippingCode2":"String","ShippingDate":"\/Date(-62135596800000-0000)\/","ShippedDate":"\/Date(-62135596800000-0000)\/","ShippingExtent":0,"DeliveryStatus":0,"ExternalInvoiceNo":"String","PaymentCompletedYn":false,"ShippingMethodId":0,"ReasonId":0,"Reason":"String","Store":{"StoreId":0,"StoreName":"String","StoreHeader":"String","Summary":"String","Description":"String","PostTypeId":0,"Location":{"Lon":"String","Lat":"String","GeoAddress":"String","IsDeleted":false},"Badges":[{"BadgeId":0,"ItemId":0,"BadgeTypeId":0,"StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","Priorty":0,"ActiveYn":false}],"MainMedia":{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"},"SocialInfo":{"AvgRate":0,"RateCount":0,"Rate1Count":0,"Rate2Count":0,"Rate3Count":0,"Rate4Count":0,"Rate5Count":0,"LikeCount":0,"FollowCount":0,"ViewCount":0,"DidUserLike":false,"DidUserRate":false,"DidUserFollow":false,"CanBeShared":false,"Score":0,"ApprovedDate":"\/Date(-62135596800000-0000)\/"},"StoreStatus":0,"StoreState":0,"UserId":0,"Owner":{"UserId":0,"UserName":"String","FirstName":"String","UserFullName":"String","Surname":"String","NickName":"String","ProfileImage":{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"},"UserSocialInfo":{"AvgRate":0,"RateCount":0,"LikeCount":0,"BanCount":0,"BannedCount":0,"FollowCount":0,"FollowedCount":0,"ActivePostCount":0,"ViewCount":0,"DidUserLike":false,"DidUserBan":false,"DidUserBanned":false,"DidUserRate":false,"DidUserFollow":false,"DidUserFollowed":false},"Avatar":"String"},"Action":0,"SaleLocalYn":false,"SaleCountryYn":false,"DeliveryToAddressYn":false,"DeliveryInStoreYn":false,"DeliveryByCargo":false,"OpenYn":false,"ShippingPriceYn":false,"ShippingAmount":0,"ShippingUpperLimit":0,"ShippingUpperAmount":0,"MaxDistance":0,"Distance":0,"MapAvatar":"String","StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","OpenHours":{"OpenHoursId":0,"Open7x24":false,"OfflinePOYn":false,"Day1":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day2":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day3":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day4":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day5":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day6":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day7":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Action":0},"AlwAct":0,"MinAmountForOrder":0,"AverageServiceTime":0,"ClosedYn":false,"FriendlyURL":"String","CategoryId":0,"CategoryKey":"String","ChatMethod":0,"AllowPaymentOnAddres":false,"AllowedPayments":"String","AttributeData":"String","AttributeMeta":"String","GeoAddress":"String","VersionStatus":1,"BlockedYn":false,"Email":"String","Phone":"String"},"TransactionItems":[{"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}],"RatedYn":false,"AlwAct":1,"DeliveryType":0,"AllowedReturnDate":"\/Date(-62135596800000-0000)\/","TransactionReturns":[{"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}}]}],"StatementId":0,"StatementPeriodId":0,"StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","PaymentDate":"\/Date(-62135596800000-0000)\/","StatementAmount":0,"CommisionAmout":0,"IsCompleted":false,"StatementPeriod":{"StatementPeriodId":0,"Year":0,"Period":"String","StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","PaymentDate":"\/Date(-62135596800000-0000)\/"},"User":{"UserId":0,"UserName":"String","FirstName":"String","UserFullName":"String","Surname":"String","NickName":"String","ProfileImage":{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"},"UserSocialInfo":{"AvgRate":0,"RateCount":0,"LikeCount":0,"BanCount":0,"BannedCount":0,"FollowCount":0,"FollowedCount":0,"ActivePostCount":0,"ViewCount":0,"DidUserLike":false,"DidUserBan":false,"DidUserBanned":false,"DidUserRate":false,"DidUserFollow":false,"DidUserFollowed":false},"Avatar":"String"},"Store":{"StoreId":0,"StoreName":"String","StoreHeader":"String","Description":"String","PostTypeId":0,"FriendlyURL":"String","StoreCategory1Id":0,"StoreSubCategory1Id":0},"StoreId":0},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}