AppService_Ver2019
单击此处,获取完整的操作列表。
AddHold
测试
测试窗体只能用于来自本地计算机的请求。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /Ver/2019/AppService.asmx HTTP/1.1
Host: mcapi.vodofo.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.vodofo.com/AddHold"
<?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>
<AddHold xmlns="http://www.vodofo.com/">
<loginKey>string</loginKey>
<newItem>
<HoldID>long</HoldID>
<HoldName>string</HoldName>
<Name>string</Name>
<ParentHoldID>long</ParentHoldID>
<ParentHoldName>string</ParentHoldName>
<UserName>string</UserName>
<UserPassword>string</UserPassword>
<Contacter>string</Contacter>
<Tel>string</Tel>
<MustTel>string</MustTel>
<Fax>string</Fax>
<Email>string</Email>
<Addr>string</Addr>
<HoldType>int</HoldType>
<HoldTreePath>string</HoldTreePath>
<CreateUser>string</CreateUser>
<CreateTime>dateTime</CreateTime>
<Modifier>int</Modifier>
<FullPathName>string</FullPathName>
<Remark>string</Remark>
<UserID>long</UserID>
<TimeZone>decimal</TimeZone>
<ServiceEndDate>dateTime</ServiceEndDate>
<ModifierName>string</ModifierName>
<UpdateTime>dateTime</UpdateTime>
</newItem>
<newFun>
<long>long</long>
<long>long</long>
</newFun>
</AddHold>
</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>
<AddHoldResponse xmlns="http://www.vodofo.com/">
<AddHoldResult>string</AddHoldResult>
</AddHoldResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /Ver/2019/AppService.asmx HTTP/1.1
Host: mcapi.vodofo.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>
<AddHold xmlns="http://www.vodofo.com/">
<loginKey>string</loginKey>
<newItem>
<HoldID>long</HoldID>
<HoldName>string</HoldName>
<Name>string</Name>
<ParentHoldID>long</ParentHoldID>
<ParentHoldName>string</ParentHoldName>
<UserName>string</UserName>
<UserPassword>string</UserPassword>
<Contacter>string</Contacter>
<Tel>string</Tel>
<MustTel>string</MustTel>
<Fax>string</Fax>
<Email>string</Email>
<Addr>string</Addr>
<HoldType>int</HoldType>
<HoldTreePath>string</HoldTreePath>
<CreateUser>string</CreateUser>
<CreateTime>dateTime</CreateTime>
<Modifier>int</Modifier>
<FullPathName>string</FullPathName>
<Remark>string</Remark>
<UserID>long</UserID>
<TimeZone>decimal</TimeZone>
<ServiceEndDate>dateTime</ServiceEndDate>
<ModifierName>string</ModifierName>
<UpdateTime>dateTime</UpdateTime>
</newItem>
<newFun>
<long>long</long>
<long>long</long>
</newFun>
</AddHold>
</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>
<AddHoldResponse xmlns="http://www.vodofo.com/">
<AddHoldResult>string</AddHoldResult>
</AddHoldResponse>
</soap12:Body>
</soap12:Envelope>