6 changed files with 253 additions and 45 deletions
@ -0,0 +1,37 @@ |
|||
using System; |
|||
using System.Xml.Serialization; |
|||
using System.Collections.Generic; |
|||
using Newtonsoft.Json; |
|||
using Jd.Api.Domain; |
|||
namespace Jd.Api.Domain |
|||
{ |
|||
|
|||
[Serializable] |
|||
public class ResponseMessage:JdObject{ |
|||
[JsonProperty("msg")] |
|||
public string |
|||
|
|||
msg |
|||
{ get; set; } |
|||
[JsonProperty("code")] |
|||
public string |
|||
|
|||
code |
|||
{ get; set; } |
|||
[JsonProperty("success")] |
|||
public bool |
|||
|
|||
success |
|||
{ get; set; } |
|||
[JsonProperty("data")] |
|||
public PageList |
|||
|
|||
data |
|||
{ get; set; } |
|||
[JsonProperty("logId")] |
|||
public List<string> |
|||
|
|||
logId |
|||
{ get; set; } |
|||
} |
|||
} |
@ -0,0 +1,163 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using Jd.Api.Response; |
|||
using Jd.Api.Util; |
|||
namespace Jd.Api.Request |
|||
{ |
|||
public class AdsIbgUniversalJosServiceSkuQueryRequest : JdRequestBase<AdsIbgUniversalJosServiceSkuQueryResponse> |
|||
{ |
|||
public string |
|||
businessType |
|||
{get; set;} |
|||
|
|||
public string |
|||
clickStartDay |
|||
{get; set;} |
|||
|
|||
public string |
|||
clickEndDay |
|||
{get; set;} |
|||
|
|||
public string |
|||
orderStartDay |
|||
{get; set;} |
|||
|
|||
public string |
|||
orderEndDay |
|||
{get; set;} |
|||
|
|||
public string |
|||
myself |
|||
{get; set;} |
|||
|
|||
public string |
|||
orderStatus |
|||
{get; set;} |
|||
|
|||
public string |
|||
province |
|||
{get; set;} |
|||
|
|||
public string |
|||
areaId |
|||
{get; set;} |
|||
|
|||
public string |
|||
isDaily |
|||
{get; set;} |
|||
|
|||
public string |
|||
startDay |
|||
{get; set;} |
|||
|
|||
public string |
|||
endDay |
|||
{get; set;} |
|||
|
|||
public string |
|||
orderStatusCategory |
|||
{get; set;} |
|||
|
|||
public string |
|||
clickOrOrderCaliber |
|||
{get; set;} |
|||
|
|||
public string |
|||
campaignId |
|||
{get; set;} |
|||
|
|||
public string |
|||
clickOrOrderDay |
|||
{get; set;} |
|||
|
|||
public string |
|||
page |
|||
{get; set;} |
|||
|
|||
public string |
|||
pageSize |
|||
{get; set;} |
|||
|
|||
public string |
|||
filters |
|||
{get; set;} |
|||
|
|||
public string |
|||
platform |
|||
{get; set;} |
|||
|
|||
public string |
|||
giftFlag |
|||
{get; set;} |
|||
|
|||
public string |
|||
authType |
|||
{get; set;} |
|||
|
|||
public string |
|||
accessPin |
|||
{get; set;} |
|||
|
|||
public override string ApiName |
|||
{ |
|||
get{return "jingdong.ads.ibg.UniversalJosService.sku.query";} |
|||
} |
|||
protected override void PrepareParam(IDictionary<String, Object> parameters) |
|||
{ |
|||
parameters.Add("businessType", this. businessType |
|||
); |
|||
parameters.Add("clickStartDay", this. clickStartDay |
|||
); |
|||
parameters.Add("clickEndDay", this. clickEndDay |
|||
); |
|||
parameters.Add("orderStartDay", this. orderStartDay |
|||
); |
|||
parameters.Add("orderEndDay", this. orderEndDay |
|||
); |
|||
parameters.Add("myself", this. myself |
|||
); |
|||
parameters.Add("orderStatus", this. orderStatus |
|||
); |
|||
parameters.Add("province", this. province |
|||
); |
|||
parameters.Add("areaId", this. areaId |
|||
); |
|||
parameters.Add("isDaily", this. isDaily |
|||
); |
|||
parameters.Add("startDay", this. startDay |
|||
); |
|||
parameters.Add("endDay", this. endDay |
|||
); |
|||
parameters.Add("orderStatusCategory", this. orderStatusCategory |
|||
); |
|||
parameters.Add("clickOrOrderCaliber", this. clickOrOrderCaliber |
|||
); |
|||
parameters.Add("campaignId", this. campaignId |
|||
); |
|||
parameters.Add("clickOrOrderDay", this. clickOrOrderDay |
|||
); |
|||
parameters.Add("page", this. page |
|||
); |
|||
parameters.Add("pageSize", this. pageSize |
|||
); |
|||
parameters.Add("filters", this. filters |
|||
); |
|||
parameters.Add("platform", this. platform |
|||
); |
|||
parameters.Add("giftFlag", this. giftFlag |
|||
); |
|||
parameters.Add("authType", this. authType |
|||
); |
|||
parameters.Add("accessPin", this. accessPin |
|||
); |
|||
} |
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,16 @@ |
|||
using System; |
|||
using System.Xml.Serialization; |
|||
using System.Collections.Generic; |
|||
using Newtonsoft.Json; |
|||
using Jd.Api.Domain; |
|||
namespace Jd.Api.Response |
|||
{ |
|||
|
|||
public class AdsIbgUniversalJosServiceSkuQueryResponse:JdResponse{ |
|||
[JsonProperty("returnType")] |
|||
public ResponseMessage |
|||
|
|||
returnType |
|||
{ get; set; } |
|||
} |
|||
} |
Loading…
Reference in new issue