SycnDXDAERPWS
单击此处,获取完整的操作列表。
PutDepartmentBasicData
ERP上传部门资料
测试
测试窗体只能用于来自本地计算机的请求。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /SycnDXDAERPWS.asmx HTTP/1.1 Host: qyyapisit.dxda.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/PutDepartmentBasicData" <?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> <PutDepartmentBasicData xmlns="http://tempuri.org/"> <objUL> <User_ID>string</User_ID> <User_PWD>string</User_PWD> <User_Name>string</User_Name> <Platform_ID>string</Platform_ID> <Company_Name>string</Company_Name> <Company_Logo>string</Company_Logo> <Company_Icon>string</Company_Icon> <Link_Man>string</Link_Man> <Mob_No>string</Mob_No> <City>string</City> <State>string</State> <business_type>string</business_type> <Chn_Addr>string</Chn_Addr> <Zip_Code>string</Zip_Code> <User_Type>string</User_Type> <IsExistOpen>string</IsExistOpen> <IsAgreeAnXinSign>string</IsAgreeAnXinSign> <sign_url>string</sign_url> <is_admin>string</is_admin> <user_1>string</user_1> <user_2>string</user_2> <commonList> <anyType /> <anyType /> </commonList> <anxinsign_id>string</anxinsign_id> <entity_anxinsign_id>string</entity_anxinsign_id> <employee_id>string</employee_id> </objUL> <pCustomerData> <dept_id>string</dept_id> <description>string</description> <create_time>dateTime</create_time> <edit_time>dateTime</edit_time> <parent_dept_id>string</parent_dept_id> <parent_name>string</parent_name> <supervisor_name>string</supervisor_name> <supervisor>string</supervisor> <telephone>string</telephone> <no>int</no> <address>string</address> <fax>string</fax> <ration_mem>int</ration_mem> <acct_id>string</acct_id> <location_id>string</location_id> <cost_id>string</cost_id> <if_ass_dept>string</if_ass_dept> <para_group_id>string</para_group_id> <if_up>string</if_up> <web_ver>int</web_ver> <erp_ver>int</erp_ver> <location_name>string</location_name> <province>string</province> <city>string</city> <district>string</district> <if_stop>string</if_stop> </pCustomerData> <pOperType>Added or Change or Delete or APP or RE_APP or RETURN or CANCEL or CLOSE or RCLOSE or RE_CLOSE or LOCK or RLOCK or RE_LOCK or NewMsg or DeleteMsg or AcceptMsg or RefusedMsg or Select or SystemSync or Pack_Save or Pack_Save1</pOperType> </PutDepartmentBasicData> </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> <PutDepartmentBasicDataResponse xmlns="http://tempuri.org/"> <PutDepartmentBasicDataResult> <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState> <ResMessage>string</ResMessage> <extendObj /> </PutDepartmentBasicDataResult> </PutDepartmentBasicDataResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /SycnDXDAERPWS.asmx HTTP/1.1 Host: qyyapisit.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> <PutDepartmentBasicData xmlns="http://tempuri.org/"> <objUL> <User_ID>string</User_ID> <User_PWD>string</User_PWD> <User_Name>string</User_Name> <Platform_ID>string</Platform_ID> <Company_Name>string</Company_Name> <Company_Logo>string</Company_Logo> <Company_Icon>string</Company_Icon> <Link_Man>string</Link_Man> <Mob_No>string</Mob_No> <City>string</City> <State>string</State> <business_type>string</business_type> <Chn_Addr>string</Chn_Addr> <Zip_Code>string</Zip_Code> <User_Type>string</User_Type> <IsExistOpen>string</IsExistOpen> <IsAgreeAnXinSign>string</IsAgreeAnXinSign> <sign_url>string</sign_url> <is_admin>string</is_admin> <user_1>string</user_1> <user_2>string</user_2> <commonList> <anyType /> <anyType /> </commonList> <anxinsign_id>string</anxinsign_id> <entity_anxinsign_id>string</entity_anxinsign_id> <employee_id>string</employee_id> </objUL> <pCustomerData> <dept_id>string</dept_id> <description>string</description> <create_time>dateTime</create_time> <edit_time>dateTime</edit_time> <parent_dept_id>string</parent_dept_id> <parent_name>string</parent_name> <supervisor_name>string</supervisor_name> <supervisor>string</supervisor> <telephone>string</telephone> <no>int</no> <address>string</address> <fax>string</fax> <ration_mem>int</ration_mem> <acct_id>string</acct_id> <location_id>string</location_id> <cost_id>string</cost_id> <if_ass_dept>string</if_ass_dept> <para_group_id>string</para_group_id> <if_up>string</if_up> <web_ver>int</web_ver> <erp_ver>int</erp_ver> <location_name>string</location_name> <province>string</province> <city>string</city> <district>string</district> <if_stop>string</if_stop> </pCustomerData> <pOperType>Added or Change or Delete or APP or RE_APP or RETURN or CANCEL or CLOSE or RCLOSE or RE_CLOSE or LOCK or RLOCK or RE_LOCK or NewMsg or DeleteMsg or AcceptMsg or RefusedMsg or Select or SystemSync or Pack_Save or Pack_Save1</pOperType> </PutDepartmentBasicData> </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> <PutDepartmentBasicDataResponse xmlns="http://tempuri.org/"> <PutDepartmentBasicDataResult> <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState> <ResMessage>string</ResMessage> <extendObj /> </PutDepartmentBasicDataResult> </PutDepartmentBasicDataResponse> </soap12:Body> </soap12:Envelope>