Удаление вида услуги
Запрос
Параметр, выделенный жирным, является обязательным к заполнению!
| Параметр | Тип | NULL | Описание |
|---|---|---|---|
| ServiceKindID | 4.1.2.11. ServiceKindID | Вид услуг который надо удалить. Повторный вызов не восстанавливает услугу. |
Пример запроса
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:par="http://buhphone.com/PartnerWebAPI2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:core="http://v8.1c.ru/8.1/data/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <soap:Header/> <soap:Body> <par:ServiceKindDelete> <par:Params> <Property xmlns="http://v8.1c.ru/8.1/data/core" name="ServiceKindID"> <Value xsi:type="xs:string">a81c1ff0-92d3-11eb-8093-2e7b6a57c4b7</Value> </Property> </par:Params> </par:ServiceKindDelete> </soap:Body> </soap:Envelope>
Ответ (структура ResultData)
| Параметр | Тип | Описание |
|---|---|---|
ResultCode | Строка | Код результата работы. Если не “SUCCESS“, то в ResultData выдается строка с причиной. |
ResultData | Структура/Строка | Описание ошибки |
Пример ответа
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<m:ServiceKindDeleteResponse
xmlns:m="http://buhphone.com/PartnerWebAPI2">
<m:return
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Property
xmlns="http://v8.1c.ru/8.1/data/core"
name="ResultCode">
<Value xsi:type="xs:string">SUCCESS</Value>
</Property>
<Property
xmlns="http://v8.1c.ru/8.1/data/core"
name="ResultData">
<Value xsi:nil="true"/>
</Property>
</m:return>
</m:ServiceKindDeleteResponse>
</soap:Body>
</soap:Envelope>
, multiple selections available, Use left or right arrow keys to navigate selected items