初始化
Name | Description | Type | Additional information |
---|---|---|---|
contractId |
合同ID(0为新增模式) |
integer |
Required |
None.
初始化
ContractInfoName | Description | Type | Additional information |
---|---|---|---|
AaId |
公司ID |
integer |
None. |
CustId |
客户ID |
integer |
None. |
CustName |
客户名称 |
string |
None. |
ContractId |
合同ID |
integer |
None. |
ContractNo |
合同编号 |
string |
None. |
ServiceType |
服务类型 |
integer |
None. |
ServiceTypeName |
服务类型名称 |
string |
None. |
ServiceItem |
服务项目 |
integer |
None. |
ServiceItemName |
服务项目名称 |
string |
None. |
ServiceClass |
服务大类 |
ServiceClassEnums |
None. |
ServiceClassName |
服务大类名称 |
string |
None. |
ServiceId |
服务ID |
integer |
None. |
SignedDate |
签订日期 |
date |
None. |
StrSignedDate |
签订日期(格式化) |
string |
None. |
Sales |
业务员 |
integer |
None. |
SalesName |
业务员名称 |
string |
None. |
ReceiptMothodId |
收费月份ID |
integer |
None. |
Amount |
合同金额 |
decimal number |
None. |
OfdAmount |
已收费金额 |
decimal number |
None. |
StartPeriod |
开始期间 |
date |
None. |
EndPeriod |
结束期间 |
date |
None. |
Period |
合同期限 |
string |
None. |
ReceiptPeriodId |
收款周期类型(1010:一次性,1020:每个月,1030:自定义) |
integer |
None. |
CustomizeRecCycle |
自定义收款周期 1010:3个月,1020:6个月,1030:12个月,1040:季度结,1050:半年结,1060:按年结 |
integer |
None. |
RecMonthes |
收款月份 |
Collection of ReceiptMonthInfo |
None. |
PeriodAmount |
收费服务月份数量 |
integer |
None. |
DiscPeriod |
免费服务月份数量(赠送) |
integer |
None. |
Approved |
审核状态(0:未审核,1:通过审核) |
integer |
None. |
RecStatus |
收款状态(0,未收款,1,部分收款,2,全部收款) |
integer |
None. |
ServiceStatus |
服务状态 |
ServiceStatusEnums |
None. |
ServiceFinishDate |
服务结束时间 |
date |
None. |
ContractStatus |
合同状态 |
ContractStatusEnums |
None. |
HaveExpire |
是否已到期 |
boolean |
None. |
Note |
备注 |
string |
None. |
RenewalContractId |
续签合同ID |
integer |
None. |
StartReceiptDate |
开始收款日期 |
date |
None. |
OriginalContractId |
原始合同ID |
integer |
None. |
FromCRM |
是否是影响模块成单生成的 |
integer |
None. |
CreatedBy |
创建人 |
integer |
None. |
CreatedDate |
创建日期 |
date |
None. |
ModifiedBy |
修改人 |
integer |
None. |
ModifiedDate |
修改日期 |
date |
None. |
HasDetail |
是否有合同项目明细 |
integer |
None. |
IsReceipted |
是否已经收过款 |
boolean |
None. |
Items |
合同项目 |
Collection of ContractItem |
None. |
Attachments |
附件集合 |
Collection of AttachmentInfo |
None. |
CustNo |
客户编号(在导入时用到的) |
string |
None. |
CanViewService |
是否和查看服务 |
boolean |
None. |
CrmCustId |
营销客户的ID |
integer |
None. |
CrmCustName |
营销客户名称 |
string |
None. |
{ "AaId": 1, "CustId": 2, "CustName": "sample string 3", "ContractId": 4, "ContractNo": "sample string 5", "ServiceType": 6, "ServiceTypeName": "sample string 7", "ServiceItem": 8, "ServiceItemName": "sample string 9", "ServiceClass": 1001, "ServiceClassName": "sample string 10", "ServiceId": 11, "SignedDate": "2024-11-25T02:02:59.4505885+08:00", "StrSignedDate": "2024-11-25", "Sales": 13, "SalesName": "sample string 14", "ReceiptMothodId": 15, "Amount": 16.0, "OfdAmount": 17.0, "StartPeriod": "2024-11-25T02:02:59.4505885+08:00", "EndPeriod": "2024-11-25T02:02:59.4505885+08:00", "Period": "2024-11 至 2024-11", "ReceiptPeriodId": 20, "CustomizeRecCycle": 21, "RecMonthes": [ { "RecMonth": "2024-11-25T02:02:59.4505885+08:00", "Amount": 2.0 }, { "RecMonth": "2024-11-25T02:02:59.4505885+08:00", "Amount": 2.0 } ], "PeriodAmount": 22, "DiscPeriod": 23, "Approved": 24, "RecStatus": 25, "ServiceStatus": 1010, "ServiceFinishDate": "2024-11-25T02:02:59.4505885+08:00", "ContractStatus": 1010, "HaveExpire": true, "Note": "sample string 27", "RenewalContractId": 28, "StartReceiptDate": "2024-11-25T02:02:59.4505885+08:00", "OriginalContractId": 30, "FromCRM": 31, "CreatedBy": 32, "CreatedDate": "2024-11-25T02:02:59.4505885+08:00", "ModifiedBy": 34, "ModifiedDate": "2024-11-25T02:02:59.4505885+08:00", "HasDetail": 36, "IsReceipted": true, "Items": [ { "AaId": 1, "CustId": 2, "ContractId": 3, "ItemId": 4, "ChargeItemId": 5, "ChargeItemName": "sample string 6", "UnitPrice": 7.0, "PriodUnit": 8, "StartPeriod": "2024-11-25T02:02:59.4505885+08:00", "EndPeriod": "2024-11-25T02:02:59.4505885+08:00", "PeriodAmount": 11, "PeriodType": 12, "DiscPeriod": 13, "TotalAmount": 14.0, "DiscAmount": 15.0, "RealAmount": 16.0, "StartReceiptDate": "2024-11-25T02:02:59.4505885+08:00", "CreatedBy": 18, "CreatedDate": "2024-11-25T02:02:59.4505885+08:00", "ModifiedBy": 20, "ModifiedDate": "2024-11-25T02:02:59.4505885+08:00" }, { "AaId": 1, "CustId": 2, "ContractId": 3, "ItemId": 4, "ChargeItemId": 5, "ChargeItemName": "sample string 6", "UnitPrice": 7.0, "PriodUnit": 8, "StartPeriod": "2024-11-25T02:02:59.4505885+08:00", "EndPeriod": "2024-11-25T02:02:59.4505885+08:00", "PeriodAmount": 11, "PeriodType": 12, "DiscPeriod": 13, "TotalAmount": 14.0, "DiscAmount": 15.0, "RealAmount": 16.0, "StartReceiptDate": "2024-11-25T02:02:59.4505885+08:00", "CreatedBy": 18, "CreatedDate": "2024-11-25T02:02:59.4505885+08:00", "ModifiedBy": 20, "ModifiedDate": "2024-11-25T02:02:59.4505885+08:00" } ], "Attachments": [ { "AaId": 1, "AmId": 2, "RefId": 3, "AmType": 1001, "FileName": "sample string 4", "FileSize": 5, "SavedName": "sample string 6", "SavedPath": "sample string 7", "FileUrl": "sample string 8" }, { "AaId": 1, "AmId": 2, "RefId": 3, "AmType": 1001, "FileName": "sample string 4", "FileSize": 5, "SavedName": "sample string 6", "SavedPath": "sample string 7", "FileUrl": "sample string 8" } ], "CustNo": "sample string 38", "CanViewService": true, "CrmCustId": 40, "CrmCustName": "sample string 41" }
<ContractInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer"> <AaId>1</AaId> <Amount>16</Amount> <Approved>24</Approved> <Attachments> <AttachmentInfo> <AaId>1</AaId> <AmId>2</AmId> <AmType>Customer</AmType> <FileName>sample string 4</FileName> <FileSize>5</FileSize> <FileUrl>sample string 8</FileUrl> <RefId>3</RefId> <SavedName>sample string 6</SavedName> <SavedPath>sample string 7</SavedPath> </AttachmentInfo> <AttachmentInfo> <AaId>1</AaId> <AmId>2</AmId> <AmType>Customer</AmType> <FileName>sample string 4</FileName> <FileSize>5</FileSize> <FileUrl>sample string 8</FileUrl> <RefId>3</RefId> <SavedName>sample string 6</SavedName> <SavedPath>sample string 7</SavedPath> </AttachmentInfo> </Attachments> <CanViewService>true</CanViewService> <ContractId>4</ContractId> <ContractNo>sample string 5</ContractNo> <ContractStatus>Inprogress</ContractStatus> <CreatedBy>32</CreatedBy> <CreatedDate>2024-11-25T02:02:59.4505885+08:00</CreatedDate> <CrmCustId>40</CrmCustId> <CrmCustName>sample string 41</CrmCustName> <CustId>2</CustId> <CustName>sample string 3</CustName> <CustNo>sample string 38</CustNo> <CustomizeRecCycle>21</CustomizeRecCycle> <DiscPeriod>23</DiscPeriod> <EndPeriod>2024-11-25T02:02:59.4505885+08:00</EndPeriod> <FromCRM>31</FromCRM> <HasDetail>36</HasDetail> <HaveExpire>true</HaveExpire> <IsReceipted>true</IsReceipted> <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.DBModels"> <d2p1:ContractItem> <d2p1:AaId>1</d2p1:AaId> <d2p1:ChargeItemId>5</d2p1:ChargeItemId> <d2p1:ChargeItemName>sample string 6</d2p1:ChargeItemName> <d2p1:ContractId>3</d2p1:ContractId> <d2p1:CreatedBy>18</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-25T02:02:59.4505885+08:00</d2p1:CreatedDate> <d2p1:CustId>2</d2p1:CustId> <d2p1:DiscAmount>15</d2p1:DiscAmount> <d2p1:DiscPeriod>13</d2p1:DiscPeriod> <d2p1:EndPeriod>2024-11-25T02:02:59.4505885+08:00</d2p1:EndPeriod> <d2p1:ItemId>4</d2p1:ItemId> <d2p1:ModifiedBy>20</d2p1:ModifiedBy> <d2p1:ModifiedDate>2024-11-25T02:02:59.4505885+08:00</d2p1:ModifiedDate> <d2p1:PeriodAmount>11</d2p1:PeriodAmount> <d2p1:PeriodType>12</d2p1:PeriodType> <d2p1:PriodUnit>8</d2p1:PriodUnit> <d2p1:RealAmount>16</d2p1:RealAmount> <d2p1:StartPeriod>2024-11-25T02:02:59.4505885+08:00</d2p1:StartPeriod> <d2p1:StartReceiptDate>2024-11-25T02:02:59.4505885+08:00</d2p1:StartReceiptDate> <d2p1:TotalAmount>14</d2p1:TotalAmount> <d2p1:UnitPrice>7</d2p1:UnitPrice> </d2p1:ContractItem> <d2p1:ContractItem> <d2p1:AaId>1</d2p1:AaId> <d2p1:ChargeItemId>5</d2p1:ChargeItemId> <d2p1:ChargeItemName>sample string 6</d2p1:ChargeItemName> <d2p1:ContractId>3</d2p1:ContractId> <d2p1:CreatedBy>18</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-25T02:02:59.4505885+08:00</d2p1:CreatedDate> <d2p1:CustId>2</d2p1:CustId> <d2p1:DiscAmount>15</d2p1:DiscAmount> <d2p1:DiscPeriod>13</d2p1:DiscPeriod> <d2p1:EndPeriod>2024-11-25T02:02:59.4505885+08:00</d2p1:EndPeriod> <d2p1:ItemId>4</d2p1:ItemId> <d2p1:ModifiedBy>20</d2p1:ModifiedBy> <d2p1:ModifiedDate>2024-11-25T02:02:59.4505885+08:00</d2p1:ModifiedDate> <d2p1:PeriodAmount>11</d2p1:PeriodAmount> <d2p1:PeriodType>12</d2p1:PeriodType> <d2p1:PriodUnit>8</d2p1:PriodUnit> <d2p1:RealAmount>16</d2p1:RealAmount> <d2p1:StartPeriod>2024-11-25T02:02:59.4505885+08:00</d2p1:StartPeriod> <d2p1:StartReceiptDate>2024-11-25T02:02:59.4505885+08:00</d2p1:StartReceiptDate> <d2p1:TotalAmount>14</d2p1:TotalAmount> <d2p1:UnitPrice>7</d2p1:UnitPrice> </d2p1:ContractItem> </Items> <ModifiedBy>34</ModifiedBy> <ModifiedDate>2024-11-25T02:02:59.4505885+08:00</ModifiedDate> <Note>sample string 27</Note> <OfdAmount>17</OfdAmount> <OriginalContractId>30</OriginalContractId> <PeriodAmount>22</PeriodAmount> <RecMonthes> <ReceiptMonthInfo> <Amount>2</Amount> <RecMonth>2024-11-25T02:02:59.4505885+08:00</RecMonth> </ReceiptMonthInfo> <ReceiptMonthInfo> <Amount>2</Amount> <RecMonth>2024-11-25T02:02:59.4505885+08:00</RecMonth> </ReceiptMonthInfo> </RecMonthes> <RecStatus>25</RecStatus> <ReceiptMothodId>15</ReceiptMothodId> <ReceiptPeriodId>20</ReceiptPeriodId> <RenewalContractId>28</RenewalContractId> <Sales>13</Sales> <SalesName>sample string 14</SalesName> <ServiceClass>AcountingAgent</ServiceClass> <ServiceClassName>sample string 10</ServiceClassName> <ServiceFinishDate>2024-11-25T02:02:59.4505885+08:00</ServiceFinishDate> <ServiceId>11</ServiceId> <ServiceItem>8</ServiceItem> <ServiceItemName>sample string 9</ServiceItemName> <ServiceStatus>Inprogress</ServiceStatus> <ServiceType>6</ServiceType> <ServiceTypeName>sample string 7</ServiceTypeName> <SignedDate>2024-11-25T02:02:59.4505885+08:00</SignedDate> <StartPeriod>2024-11-25T02:02:59.4505885+08:00</StartPeriod> <StartReceiptDate>2024-11-25T02:02:59.4505885+08:00</StartReceiptDate> </ContractInfo>