BackstageWS
单击此处,获取完整的操作列表。
AddVendor
新增供应商资料信息
测试
测试窗体只能用于使用基元类型作为参数的方法。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /BackstageWS.asmx HTTP/1.1 Host: qyyapi.dxda.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/AddVendor" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddVendor xmlns="http://tempuri.org/"> <platformID>string</platformID> <VendorData> <state>string</state> <province>string</province> <district>string</district> <vendor_id>string</vendor_id> <short_name>string</short_name> <full_name>string</full_name> <vendor_code>string</vendor_code> <vendor_code_name>string</vendor_code_name> <city>string</city> <zipcode>string</zipcode> <country>string</country> <principal>string</principal> <linkman>string</linkman> <telephone>string</telephone> <facsimile>string</facsimile> <e_mail>string</e_mail> <utl>string</utl> <remark>string</remark> <bank_no>string</bank_no> <mob_no>string</mob_no> <bank>string</bank> <buyer>string</buyer> <buyer_name>string</buyer_name> <open_date>dateTime</open_date> <capital>int</capital> <OrderCount>int</OrderCount> <emp_qty>int</emp_qty> <start_business_date>dateTime</start_business_date> <lately_business_date>dateTime</lately_business_date> <business_grade>int</business_grade> <delivery_grade>int</delivery_grade> <quanlity_grade>int</quanlity_grade> <currency_id>string</currency_id> <price_term>string</price_term> <payment_term>string</payment_term> <ap_account_id>string</ap_account_id> <ap_mode>string</ap_mode> <check_no>string</check_no> <cashier_no>string</cashier_no> <ap_address>string</ap_address> <foreign_vendor>string</foreign_vendor> <user_1>string</user_1> <user_2>string</user_2> <user_3>string</user_3> <user_4>string</user_4> <user_5>string</user_5> <user_6>decimal</user_6> <user_7>decimal</user_7> <user_8>decimal</user_8> <user_9>decimal</user_9> <user_10>decimal</user_10> <vendor_add>string</vendor_add> <critical_person>string</critical_person> <business_no>string</business_no> <tax_register>string</tax_register> <create_time>dateTime</create_time> <edit_time>dateTime</edit_time> <pre_pay_amt>decimal</pre_pay_amt> <should_pay_amt>decimal</should_pay_amt> <tax_id>string</tax_id> <region_id>string</region_id> <payable_acct_id>string</payable_acct_id> <prepay_acct_id>string</prepay_acct_id> <customer_id>string</customer_id> <acount_date>int</acount_date> <invoicedays>int</invoicedays> <payables_acct_id>string</payables_acct_id> <payableo_acct_id>string</payableo_acct_id> <location_id>string</location_id> <pwd>string</pwd> <web_id>string</web_id> <if_toship>string</if_toship> <sum_ensemble>string</sum_ensemble> <if_inside_custvend>string</if_inside_custvend> <disable>string</disable> <if_up>string</if_up> <web_ver>int</web_ver> <erp_ver>int</erp_ver> <owe_pay_amt>decimal</owe_pay_amt> <tax_rate>decimal</tax_rate> <tax_name>string</tax_name> <if_authorize>string</if_authorize> <use_vendPayment_cx>string</use_vendPayment_cx> <if_auto_cx>string</if_auto_cx> <if_pause_cooperation>string</if_pause_cooperation> <cash_amt>decimal</cash_amt> <no_shipper_amt>decimal</no_shipper_amt> <shipper_amt>decimal</shipper_amt> <insur_company>string</insur_company> <cust_bsnis_cost>decimal</cust_bsnis_cost> <cust_insra_cost>decimal</cust_insra_cost> <cust_car_cost>decimal</cust_car_cost> <bal_bsnis_cost>decimal</bal_bsnis_cost> <bal_insra_cost>decimal</bal_insra_cost> <bal_car_cost>decimal</bal_car_cost> <bal_add_cost>decimal</bal_add_cost> <cust_add_cost>decimal</cust_add_cost> </VendorData> </AddVendor> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddVendorResponse xmlns="http://tempuri.org/"> <AddVendorResult> <ResComm> <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState> <ResMessage>string</ResMessage> <extendObj /> </ResComm> <Trans_No>string</Trans_No> <extendJson>string</extendJson> <extendStr>string</extendStr> </AddVendorResult> </AddVendorResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /BackstageWS.asmx HTTP/1.1 Host: qyyapi.dxda.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AddVendor xmlns="http://tempuri.org/"> <platformID>string</platformID> <VendorData> <state>string</state> <province>string</province> <district>string</district> <vendor_id>string</vendor_id> <short_name>string</short_name> <full_name>string</full_name> <vendor_code>string</vendor_code> <vendor_code_name>string</vendor_code_name> <city>string</city> <zipcode>string</zipcode> <country>string</country> <principal>string</principal> <linkman>string</linkman> <telephone>string</telephone> <facsimile>string</facsimile> <e_mail>string</e_mail> <utl>string</utl> <remark>string</remark> <bank_no>string</bank_no> <mob_no>string</mob_no> <bank>string</bank> <buyer>string</buyer> <buyer_name>string</buyer_name> <open_date>dateTime</open_date> <capital>int</capital> <OrderCount>int</OrderCount> <emp_qty>int</emp_qty> <start_business_date>dateTime</start_business_date> <lately_business_date>dateTime</lately_business_date> <business_grade>int</business_grade> <delivery_grade>int</delivery_grade> <quanlity_grade>int</quanlity_grade> <currency_id>string</currency_id> <price_term>string</price_term> <payment_term>string</payment_term> <ap_account_id>string</ap_account_id> <ap_mode>string</ap_mode> <check_no>string</check_no> <cashier_no>string</cashier_no> <ap_address>string</ap_address> <foreign_vendor>string</foreign_vendor> <user_1>string</user_1> <user_2>string</user_2> <user_3>string</user_3> <user_4>string</user_4> <user_5>string</user_5> <user_6>decimal</user_6> <user_7>decimal</user_7> <user_8>decimal</user_8> <user_9>decimal</user_9> <user_10>decimal</user_10> <vendor_add>string</vendor_add> <critical_person>string</critical_person> <business_no>string</business_no> <tax_register>string</tax_register> <create_time>dateTime</create_time> <edit_time>dateTime</edit_time> <pre_pay_amt>decimal</pre_pay_amt> <should_pay_amt>decimal</should_pay_amt> <tax_id>string</tax_id> <region_id>string</region_id> <payable_acct_id>string</payable_acct_id> <prepay_acct_id>string</prepay_acct_id> <customer_id>string</customer_id> <acount_date>int</acount_date> <invoicedays>int</invoicedays> <payables_acct_id>string</payables_acct_id> <payableo_acct_id>string</payableo_acct_id> <location_id>string</location_id> <pwd>string</pwd> <web_id>string</web_id> <if_toship>string</if_toship> <sum_ensemble>string</sum_ensemble> <if_inside_custvend>string</if_inside_custvend> <disable>string</disable> <if_up>string</if_up> <web_ver>int</web_ver> <erp_ver>int</erp_ver> <owe_pay_amt>decimal</owe_pay_amt> <tax_rate>decimal</tax_rate> <tax_name>string</tax_name> <if_authorize>string</if_authorize> <use_vendPayment_cx>string</use_vendPayment_cx> <if_auto_cx>string</if_auto_cx> <if_pause_cooperation>string</if_pause_cooperation> <cash_amt>decimal</cash_amt> <no_shipper_amt>decimal</no_shipper_amt> <shipper_amt>decimal</shipper_amt> <insur_company>string</insur_company> <cust_bsnis_cost>decimal</cust_bsnis_cost> <cust_insra_cost>decimal</cust_insra_cost> <cust_car_cost>decimal</cust_car_cost> <bal_bsnis_cost>decimal</bal_bsnis_cost> <bal_insra_cost>decimal</bal_insra_cost> <bal_car_cost>decimal</bal_car_cost> <bal_add_cost>decimal</bal_add_cost> <cust_add_cost>decimal</cust_add_cost> </VendorData> </AddVendor> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AddVendorResponse xmlns="http://tempuri.org/"> <AddVendorResult> <ResComm> <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState> <ResMessage>string</ResMessage> <extendObj /> </ResComm> <Trans_No>string</Trans_No> <extendJson>string</extendJson> <extendStr>string</extendStr> </AddVendorResult> </AddVendorResponse> </soap12:Body> </soap12:Envelope>