Needio.Services

<back to all web services

GetMyOffersRequest

Requires Authentication
Required role:Approved
The following routes are available for this service:
All Verbs/OfferMan/GetMyOffers
GetMyOffersRequest Parameters:
NameParameterData TypeRequiredDescription
UserIdqueryint?No
OfferStatequeryOfferState?No
StoreIdqueryint?No
IgnoreStoreUserYnqueryboolNo
IsManagementqueryboolNo
UserAddressIdqueryint?No
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
GetMyOffersResponse Parameters:
NameParameterData TypeRequiredDescription
OffersformList<OfferDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
OfferDto Parameters:
NameParameterData TypeRequiredDescription
OfferIdformintNo
StartDateformDateTimeNo
EndDateformDateTimeNo
OfferStateformOfferStateNo
OfferPriceformdecimalNo
BuyerNotesformstringNo
SellerNotesformstringNo
PostIdformintNo
KeyManagementIdformint?No
ServiceOfferIdformint?No
BuyerIdformintNo
AssignedToIdformint?No
StoreIdformint?No
ServiceIdformint?No
OfferLogsformList<OfferLogDto>No
TimelineformServiceTimeLineNo
OfferNameformstringNo
OfferDescriptionformstringNo
AlwActformOfferAlwActNo
AddressAliasformstringNo
UserAddressformUserAddressDTONo
SenderAddressformAddressDTONo
KeyDeliveryTypeformServiceKeyDeliveryTypeNo
TrackingCodeformstringNo
TrackingUrlformstringNo
CargoKeyformstringNo
PhoneNumberformstringNo
TimelineTitleformstringNo
IsTakenFromAddressformboolNo
AuditedBaseDto Parameters:
NameParameterData TypeRequiredDescription
CreatedOnformDateTimeNo
CreatedByformint?No
ModifiedOnformDateTime?No
ModifiedByformint?No
OfferState Enum:
NameValue
WaitingAssignment1
WaitingApproval2
SalerApproved11
SalerRejected12
BuyerCancelled13
KeyObtained15
KeyNotObtained16
OfferTaskStarted17
OfferTaskFinished18
ReportCreated19
ReportApproved20
BuyerApproved21
BuyerRejected22
SalerAdminRejected42
OfferLogDto Parameters:
NameParameterData TypeRequiredDescription
OfferLogIdformintNo
OfferStateformOfferStateNo
NoteformstringNo
OfferIdformintNo
CreationAuditedBaseDto Parameters:
NameParameterData TypeRequiredDescription
CreatedOnformDateTimeNo
CreatedByformint?No
ServiceTimeLine Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<ServiceTimeLineItem>No
AlwActformServiceTimeLineAlwActNo
FooterTitleformstringNo
FooterDescriptionformstringNo
ServiceTimeLineItem Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
SubtitleformstringNo
StateformServiceTimeLineItemStateNo
MainColorformstringNo
TintColorformstringNo
DescriptionformstringNo
IsShowOfficeMapLinkVisibleformboolNo
IsShowAcceptServiceButtonVisibleformboolNo
IsShowServiceOffersButtonVisibleformboolNo
IsDeliveryDateNotReachedVisibleformboolNo
IsGetCargoCodeButtonVisibleformboolNo
IsGoToCargoVisibleformboolNo
IsTrackCargoVisibleformboolNo
IsCargoErrorVisibleformboolNo
ServiceTimeLineItemState Enum:
NameValue
Waiting0
InProgress1
Done2
Fail3
ServiceTimeLineAlwAct Enum:
NameValue
None0
IsCancelServiceButtonVisible1
IsShowReportButtonVisible2
OfferAlwAct Enum:
NameValue
ShowDetailsButtonVisible1
AddToBasketButtonVisible2
InBasketLabelVisible4
DeliveryDateNotReached8
CreateBBCargoTrackingKeyVisible16
TrackCargoVisible32
GoToCargoVisible64
CargoErrorVisible128
ShowOfficeMapLinkVisible256
UserAddressDTO Parameters:
NameParameterData TypeRequiredDescription
UserAddressIdformintNo
AddressAliasformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
CountryformstringNo
ZipCodeformstringNo
DistrictIdformint?No
CityIdformint?No
StateIdformint?No
CountryIdformint?No
DistrictformstringNo
StreetformstringNo
BuildingNoformstringNo
DoorNoformstringNo
AddressRecipeformstringNo
GeoAddressformstringNo
LocationformGeoLocationNo
InvoiceYnformboolNo
DeliveryYnformboolNo
ActiveYnformboolNo
DefaultYnformboolNo
PhoneNumberformstringNo
EmailformstringNo
InvoiceAddressTypeformInvoiceAddressTypes?No
InvoiceNameformstringNo
TaxOfficeformstringNo
TaxNoformstringNo
Registerformbool?No
DeliveryNameformstringNo
DeliverySurnameformstringNo
EInvoiceYnformbool?No
ExtensionDataformstringNo
IsHasOrderYnformboolNo
GeoLocation Parameters:
NameParameterData TypeRequiredDescription
LonformstringNo
LatformstringNo
GeoAddressformstringNo
IsDeletedformboolNo
InvoiceAddressTypes Enum:
NameValue
Personel1
Company2
AddressDTO Parameters:
NameParameterData TypeRequiredDescription
AddressAliasformstringNo
PhoneNumberformstringNo
EmailformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
CountryformstringNo
ZipCodeformstringNo
DistrictIdformint?No
CityIdformint?No
StateIdformint?No
CountryIdformint?No
DistrictformstringNo
StreetformstringNo
BuildingNoformstringNo
DoorNoformstringNo
AddressRecipeformstringNo
GeoAddressformstringNo
LocationformGeoLocationNo
InvoiceYnformboolNo
DeliveryYnformboolNo
ActiveYnformboolNo
DefaultYnformboolNo
Registerformbool?No
ServiceKeyDeliveryType Enum:
NameValue
ByShipping0
ByHand1
FromHome2
GetMyOffersResponse Parameters:
NameParameterData TypeRequiredDescription
OffersformList<OfferDto>No

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

{"UserId":0,"OfferState":0,"StoreId":0,"IgnoreStoreUserYn":false,"IsManagement":false,"UserAddressId":0,"start":"\/Date(-62135596800000-0000)\/","DeviceUUID":"String","APIKey":"String","isAdmin":false,"Cmd":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Offers":[{"OfferId":0,"StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","OfferState":1,"OfferPrice":0,"BuyerNotes":"String","SellerNotes":"String","PostId":0,"KeyManagementId":0,"ServiceOfferId":0,"BuyerId":0,"AssignedToId":0,"StoreId":0,"ServiceId":0,"OfferLogs":[{"OfferLogId":0,"OfferState":1,"Note":"String","OfferId":0,"CreatedOn":"\/Date(-62135596800000-0000)\/","CreatedBy":0}],"Timeline":{"Items":[{}],"AlwAct":0,"FooterTitle":"String","FooterDescription":"String"},"OfferName":"String","OfferDescription":"String","AlwAct":1,"AddressAlias":"String","UserAddress":{"UserAddressId":0,"AddressAlias":"String","Address1":"String","Address2":"String","City":"String","State":"String","Country":"String","ZipCode":"String","DistrictId":0,"CityId":0,"StateId":0,"CountryId":0,"District":"String","Street":"String","BuildingNo":"String","DoorNo":"String","AddressRecipe":"String","GeoAddress":"String","Location":{"Lon":"String","Lat":"String","GeoAddress":"String","IsDeleted":false},"InvoiceYn":false,"DeliveryYn":false,"ActiveYn":false,"DefaultYn":false,"PhoneNumber":"String","Email":"String","InvoiceAddressType":0,"InvoiceName":"String","TaxOffice":"String","TaxNo":"String","Register":false,"DeliveryName":"String","DeliverySurname":"String","EInvoiceYn":false,"ExtensionData":"String","IsHasOrderYn":false},"SenderAddress":{"AddressAlias":"String","PhoneNumber":"String","Email":"String","Address1":"String","Address2":"String","City":"String","State":"String","Country":"String","ZipCode":"String","DistrictId":0,"CityId":0,"StateId":0,"CountryId":0,"District":"String","Street":"String","BuildingNo":"String","DoorNo":"String","AddressRecipe":"String","GeoAddress":"String","Location":{"Lon":"String","Lat":"String","GeoAddress":"String","IsDeleted":false},"InvoiceYn":false,"DeliveryYn":false,"ActiveYn":false,"DefaultYn":false,"Register":false},"KeyDeliveryType":0,"TrackingCode":"String","TrackingUrl":"String","CargoKey":"String","PhoneNumber":"String","TimelineTitle":"String","IsTakenFromAddress":false,"CreatedOn":"\/Date(-62135596800000-0000)\/","CreatedBy":0,"ModifiedOn":"\/Date(-62135596800000-0000)\/","ModifiedBy":0}],"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}