SycnDXDAERPWS
单击此处,获取完整的操作列表。
GetDepartmentByDepartmentID
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/GetDepartmentByDepartmentID" <?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> <GetDepartmentByDepartmentID 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> <pCustomerID>string</pCustomerID> </GetDepartmentByDepartmentID> </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> <GetDepartmentByDepartmentIDResponse xmlns="http://tempuri.org/"> <GetDepartmentByDepartmentIDResult> <ResComm> <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState> <ResMessage>string</ResMessage> <extendObj /> </ResComm> <PageInfo> <PageSize xmlns="http://tempuri1.org/">long</PageSize> <CurrentPage xmlns="http://tempuri1.org/">long</CurrentPage> <TotleRecords xmlns="http://tempuri1.org/">long</TotleRecords> <TotlePage xmlns="http://tempuri1.org/">long</TotlePage> <MaxSelectRecords xmlns="http://tempuri1.org/">long</MaxSelectRecords> <IsFillTotleRecords xmlns="http://tempuri1.org/">boolean</IsFillTotleRecords> </PageInfo> <DataList> <Department> <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> </Department> <Department> <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> </Department> </DataList> </GetDepartmentByDepartmentIDResult> </GetDepartmentByDepartmentIDResponse> </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> <GetDepartmentByDepartmentID 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> <pCustomerID>string</pCustomerID> </GetDepartmentByDepartmentID> </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> <GetDepartmentByDepartmentIDResponse xmlns="http://tempuri.org/"> <GetDepartmentByDepartmentIDResult> <ResComm> <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState> <ResMessage>string</ResMessage> <extendObj /> </ResComm> <PageInfo> <PageSize xmlns="http://tempuri1.org/">long</PageSize> <CurrentPage xmlns="http://tempuri1.org/">long</CurrentPage> <TotleRecords xmlns="http://tempuri1.org/">long</TotleRecords> <TotlePage xmlns="http://tempuri1.org/">long</TotlePage> <MaxSelectRecords xmlns="http://tempuri1.org/">long</MaxSelectRecords> <IsFillTotleRecords xmlns="http://tempuri1.org/">boolean</IsFillTotleRecords> </PageInfo> <DataList> <Department> <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> </Department> <Department> <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> </Department> </DataList> </GetDepartmentByDepartmentIDResult> </GetDepartmentByDepartmentIDResponse> </soap12:Body> </soap12:Envelope>