POST api/JiepeiIC/ICSupplierSync
同步IC供应商
Request Information
URI Parameters
None.
Body Parameters
请求参数
ICSupplierSyncRequestName | Description | Type | Additional information |
---|---|---|---|
Model |
同步数据,新增/更新时传完整数据,删除时只需要Id |
IcSupplierSyncDto |
None. |
Type |
同步类型 |
DataSyncType |
None. |
Request Formats
application/json, text/json
Sample:
{ "Model": { "Supplier": { "Id": 1, "Code": "sample string 2", "ShortName": "sample string 3", "Name": "sample string 4", "EnName": "sample string 5", "Type": 1, "IsTemp": true, "Platform": 7, "Source": 8, "State": 1, "WarehouseTypes": "sample string 9", "SettleInTime": "2025-05-05T22:05:31.5988383+08:00", "FirstOrderTime": "2025-05-05T22:05:31.5998396+08:00", "Note": "sample string 10", "OwnBrandIds": "sample string 11", "AgentBrandIds": "sample string 12", "TradeBrandIds": "sample string 13", "CategoryIds": "sample string 14", "CommissionBeginDate": "2025-05-05T22:05:31.5998396+08:00", "CommissionEndDate": "2025-05-05T22:05:31.5998396+08:00", "TaxPoint": 1.0, "PayCurrency": 1, "Rank": 1, "Score": 15, "RiskLevel": 1, "CheckState": 16, "FailReason": "sample string 17", "SearchKey": "sample string 18", "Discoveryer": "sample string 19", "Owner": "sample string 20", "Deposit": 1.0, "AgentCertificateEndTimes": "sample string 21", "BomId": 1, "CloudId": 1, "DataSource": 22, "Completion": 23, "Operator": "sample string 24", "DisableTime": "2025-05-05T22:05:31.5998396+08:00", "DeleteTime": "2025-05-05T22:05:31.5998396+08:00", "CustomerCodes": "sample string 25", "ProductLevel": 1, "IsSpecialAccept": true, "ProjectId": 1, "ProjectName": "sample string 27", "ChannelRole": "sample string 28" }, "SupplierExtend": { "SupplierId": 1, "TaxNumber": "sample string 2", "AccountName": "sample string 3", "BrankName": "sample string 4", "AccountNo": "sample string 5", "PayType": 1, "AccountPeriod": 1, "BusinessLicenseUrl": "sample string 6", "AgentCertificateUrls": "sample string 7", "TransactionUrls": "sample string 8", "CertificateUrl": "sample string 9", "AuthorizationUrl": "sample string 10", "Province": "sample string 11", "City": "sample string 12", "ContactAddress": "sample string 13", "CompanyDesc": "sample string 14", "BusinessCards": "sample string 15", "ComgpanyFile": "sample string 16", "DistributionChannel": 1, "ChannelCount": 1, "DisableType": 1, "DisableReason": "sample string 17", "DisablePictures": "sample string 18", "EnableType": 1, "EnableReason": "sample string 19", "EnablePictures": "sample string 20", "DeleteType": 1, "DeleteReason": "sample string 21", "DeletePictures": "sample string 22", "SpecialAcceptCert": "sample string 23", "BillingInformation": "sample string 24", "Questionnaire": "sample string 25", "QualityAssuranceAgreement": "sample string 26", "SampleConfirmationUrl": "sample string 27", "PriceAnalysisUrl": "sample string 28" }, "RelationshipCompanies": [ { "Id": 1, "SupplierId": 2, "Name": "sample string 3", "RegistCapi": 4.0, "LegalName": "sample string 5", "StartDate": "2025-05-05T22:05:31.6018393+08:00", "Note": "sample string 6" }, { "Id": 1, "SupplierId": 2, "Name": "sample string 3", "RegistCapi": 4.0, "LegalName": "sample string 5", "StartDate": "2025-05-05T22:05:31.6018393+08:00", "Note": "sample string 6" } ], "Contacts": [ { "Id": 1, "SupplierId": 2, "ContactName": "sample string 3", "ContactTele": "sample string 4", "ContactMobile": "sample string 5", "Post": "sample string 6", "WeChat": "sample string 7", "QQ": "sample string 8" }, { "Id": 1, "SupplierId": 2, "ContactName": "sample string 3", "ContactTele": "sample string 4", "ContactMobile": "sample string 5", "Post": "sample string 6", "WeChat": "sample string 7", "QQ": "sample string 8" } ], "SupplierBrands": [ { "Id": 1, "SupplierId": 2, "BrandId": 3, "Type": 4, "Level": 5 }, { "Id": 1, "SupplierId": 2, "BrandId": 3, "Type": 4, "Level": 5 } ] }, "Type": 1 }
Response Information
Resource Description
ResponseModelOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Data | integer |
None. |
|
Status |
Request processing results ('ok' or 'error') |
string |
None. |
ErrorText |
Error Description ( Empty when request processing successfully ) |
string |
None. |
Code |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": 1, "Status": "sample string 2", "ErrorText": "sample string 3", "Code": 4 }