wtt
2024-10-18 cd50e79ee0899945e12c0092b83b105649e70e84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api.Util;
using Top.Api;
using Top.Api.DingTalk;
 
namespace DingTalk.Api.Request
{
    /// <summary>
    /// TOP API: dingtalk.oapi.alitrip.btrip.apply.get
    /// </summary>
    public class OapiAlitripBtripApplyGetRequest : BaseDingTalkRequest<DingTalk.Api.Response.OapiAlitripBtripApplyGetResponse>
    {
        /// <summary>
        /// 请求对象
        /// </summary>
        public string Rq { get; set; }
 
        public OpenSearchRqDomain Rq_ { set { this.Rq = TopUtils.ObjectToJson(value); } } 
 
        #region IDingTalkRequest Members
 
        public override string GetApiName()
        {
            return "dingtalk.oapi.alitrip.btrip.apply.get";
        }
 
        public override string GetApiCallType()
        {
            return DingTalkConstants.CALL_TYPE_OAPI;
        }
 
        public override IDictionary<string, string> GetParameters()
        {
            TopDictionary parameters = new TopDictionary();
            parameters.Add("rq", this.Rq);
            if (this.otherParams != null)
            {
                parameters.AddAll(this.otherParams);
            }
            return parameters;
        }
 
        public override void Validate()
        {
            RequestValidator.ValidateRequired("rq", this.Rq);
        }
 
    /// <summary>
/// OpenSearchRqDomain Data Structure.
/// </summary>
[Serializable]
 
public class OpenSearchRqDomain : TopObject
{
            /// <summary>
            /// 阿里商旅审批单id
            /// </summary>
            [XmlElement("apply_id")]
            public Nullable<long> ApplyId { get; set; }
    
            /// <summary>
            /// 阿里商旅审批单展示id
            /// </summary>
            [XmlElement("apply_show_id")]
            public string ApplyShowId { get; set; }
    
            /// <summary>
            /// 企业id
            /// </summary>
            [XmlElement("corpid")]
            public string Corpid { get; set; }
    
            /// <summary>
            /// 外部审批单id
            /// </summary>
            [XmlElement("thirdpart_apply_id")]
            public string ThirdpartApplyId { get; set; }
    
            /// <summary>
            /// 申请单提交类型 1:代提交 2:本人提交 注意:当申请单为代提交时,申请单提交人自己无法为自己下单
            /// </summary>
            [XmlElement("type")]
            public Nullable<long> Type { get; set; }
}
 
        #endregion
    }
}