Required role: | Approved |
All Verbs | /OfferMan/GetMyOfferDetail |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OfferId | query | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
start | form | DateTime | No | |
DeviceUUID | form | string | No | |
APIKey | form | string | No | |
isAdmin | form | bool | No | |
Cmd | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offer | form | OfferDto | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | bool | No | |
ResMessage | form | string | No | |
Error | form | Error | No | |
PageInfo | form | BasePageInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorYn | form | bool | No | |
ExYn | form | bool | No | |
ErrorCode | form | string | No | |
ErrorDescription | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalRecordCount | form | int | No | |
TotalPageCount | form | int | No | |
CurrentPage | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OfferId | form | int | No | |
StartDate | form | DateTime | No | |
EndDate | form | DateTime | No | |
OfferState | form | OfferState | No | |
OfferPrice | form | decimal | No | |
BuyerNotes | form | string | No | |
SellerNotes | form | string | No | |
PostId | form | int | No | |
KeyManagementId | form | int? | No | |
ServiceOfferId | form | int? | No | |
BuyerId | form | int | No | |
AssignedToId | form | int? | No | |
StoreId | form | int? | No | |
ServiceId | form | int? | No | |
OfferLogs | form | List<OfferLogDto> | No | |
Timeline | form | ServiceTimeLine | No | |
OfferName | form | string | No | |
OfferDescription | form | string | No | |
AlwAct | form | OfferAlwAct | No | |
AddressAlias | form | string | No | |
UserAddress | form | UserAddressDTO | No | |
SenderAddress | form | AddressDTO | No | |
KeyDeliveryType | form | ServiceKeyDeliveryType | No | |
TrackingCode | form | string | No | |
TrackingUrl | form | string | No | |
CargoKey | form | string | No | |
PhoneNumber | form | string | No | |
TimelineTitle | form | string | No | |
IsTakenFromAddress | form | bool | No | |
PostMedias | form | List<MediaDTO> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CreatedOn | form | DateTime | No | |
CreatedBy | form | int? | No | |
ModifiedOn | form | DateTime? | No | |
ModifiedBy | form | int? | No |
Name | Value |
---|---|
WaitingAssignment | 1 |
WaitingApproval | 2 |
SalerApproved | 11 |
SalerRejected | 12 |
BuyerCancelled | 13 |
KeyObtained | 15 |
KeyNotObtained | 16 |
OfferTaskStarted | 17 |
OfferTaskFinished | 18 |
ReportCreated | 19 |
ReportApproved | 20 |
BuyerApproved | 21 |
BuyerRejected | 22 |
SalerAdminRejected | 42 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OfferLogId | form | int | No | |
OfferState | form | OfferState | No | |
Note | form | string | No | |
OfferId | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CreatedOn | form | DateTime | No | |
CreatedBy | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Items | form | List<ServiceTimeLineItem> | No | |
AlwAct | form | ServiceTimeLineAlwAct | No | |
FooterTitle | form | string | No | |
FooterDescription | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Title | form | string | No | |
Subtitle | form | string | No | |
State | form | ServiceTimeLineItemState | No | |
MainColor | form | string | No | |
TintColor | form | string | No | |
Description | form | string | No | |
IsShowOfficeMapLinkVisible | form | bool | No | |
IsShowAcceptServiceButtonVisible | form | bool | No | |
IsShowServiceOffersButtonVisible | form | bool | No | |
IsShowExtraOffersButtonVisible | form | bool | No | |
IsDeliveryDateNotReachedVisible | form | bool | No | |
IsGetCargoCodeButtonVisible | form | bool | No | |
IsGoToCargoVisible | form | bool | No | |
IsTrackCargoVisible | form | bool | No | |
IsCargoErrorVisible | form | bool | No | |
ShowServiceOffersText | form | string | No | |
ShowExtraServiceOffersText | form | string | No |
Name | Value |
---|---|
Waiting | 0 |
InProgress | 1 |
Done | 2 |
Fail | 3 |
Name | Value |
---|---|
None | 0 |
IsCancelServiceButtonVisible | 1 |
IsShowReportButtonVisible | 2 |
Name | Value |
---|---|
ShowDetailsButtonVisible | 1 |
AddToBasketButtonVisible | 2 |
InBasketLabelVisible | 4 |
DeliveryDateNotReached | 8 |
CreateBBCargoTrackingKeyVisible | 16 |
TrackCargoVisible | 32 |
GoToCargoVisible | 64 |
CargoErrorVisible | 128 |
ShowOfficeMapLinkVisible | 256 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserAddressId | form | int | No | |
AddressAlias | form | string | No | |
Address1 | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Country | form | string | No | |
ZipCode | form | string | No | |
DistrictId | form | int? | No | |
CityId | form | int? | No | |
StateId | form | int? | No | |
CountryId | form | int? | No | |
District | form | string | No | |
Street | form | string | No | |
BuildingNo | form | string | No | |
DoorNo | form | string | No | |
AddressRecipe | form | string | No | |
GeoAddress | form | string | No | |
Location | form | GeoLocation | No | |
InvoiceYn | form | bool | No | |
DeliveryYn | form | bool | No | |
ActiveYn | form | bool | No | |
DefaultYn | form | bool | No | |
PhoneNumber | form | string | No | |
form | string | No | ||
InvoiceAddressType | form | InvoiceAddressTypes? | No | |
InvoiceName | form | string | No | |
TaxOffice | form | string | No | |
TaxNo | form | string | No | |
Register | form | bool? | No | |
DeliveryName | form | string | No | |
DeliverySurname | form | string | No | |
EInvoiceYn | form | bool? | No | |
ExtensionData | form | string | No | |
IsHasOrderYn | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Lon | form | string | No | |
Lat | form | string | No | |
GeoAddress | form | string | No | |
IsDeleted | form | bool | No |
Name | Value |
---|---|
Personel | 1 |
Company | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AddressAlias | form | string | No | |
PhoneNumber | form | string | No | |
form | string | No | ||
Address1 | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Country | form | string | No | |
ZipCode | form | string | No | |
DistrictId | form | int? | No | |
CityId | form | int? | No | |
StateId | form | int? | No | |
CountryId | form | int? | No | |
District | form | string | No | |
Street | form | string | No | |
BuildingNo | form | string | No | |
DoorNo | form | string | No | |
AddressRecipe | form | string | No | |
GeoAddress | form | string | No | |
Location | form | GeoLocation | No | |
InvoiceYn | form | bool | No | |
DeliveryYn | form | bool | No | |
ActiveYn | form | bool | No | |
DefaultYn | form | bool | No | |
Register | form | bool? | No |
Name | Value |
---|---|
ByShipping | 0 |
ByHand | 1 |
FromHome | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PostId | form | int | No | |
MediaId | form | int? | No | |
UsageType | form | UsageTypes | No | |
MediaType | form | MediaTypes | No | |
Source | form | string | No | |
MediaFileName | form | string | No | |
MediaMime | form | string | No | |
IsMain | form | bool | No | |
RefId | form | int? | No | |
OrderNum | form | int | No | |
Action | form | DBAction | No | |
IsDeleted | form | bool | No | |
FriendlyURL | form | string | No | |
PostVariantA1Key | form | string | No | |
SourceUrl | form | string | No | |
ActiveYn | form | bool | No |
Name | Value |
---|---|
StoreMedias | 1 |
StoreFiles | 2 |
Name | Value |
---|---|
icon | 0 |
Image | 1 |
Video | 2 |
Youtube | 3 |
8 | |
File | 9 |
ThreeD | 10 |
Custom | 99 |
Name | Value |
---|---|
None | 0 |
Insert | 1 |
Update | 2 |
Delete | 3 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offer | form | OfferDto | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /OfferMan/GetMyOfferDetail HTTP/1.1
Host: baseservices.needion.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"OfferId":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 {"Offer":{"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,"PostMedias":[{"PostId":0,"MediaId":0,"UsageType":1,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String","PostVariantA1Key":"String","SourceUrl":"String","ActiveYn":false}],"CreatedOn":"\/Date(-62135596800000-0000)\/","CreatedBy":0,"ModifiedOn":"\/Date(-62135596800000-0000)\/","ModifiedBy":0},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ExYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}