Создание заявки на обслуживание
Описание
Создание заявки на обслуживание.
Запрос
Параметр, выделенный жирным, является обязательным к заполнению!
| Параметр | Тип | NULL | Описание |
|---|---|---|---|
| ServiceRequestChannelID | 4.1.2.13. ServiceRequestChannelID | Канал связи. | |
| ServiceLineKindID | 4.1.2.9. ServiceID | Линия | |
| ServiceKindID | 4.1.2.11. ServiceKindID | Вид услуги | |
| ServiceRequestTypeID | 4.1.2.12. ServiceRequestTypeID | Тип заявки | |
| UserID | 4.1.2.5. AccountID | Инициатор заявки | |
| ExecutorID | 4.1.2.5. AccountID | Исполнитель | |
| ServiceRequestStatusID | ServiceRequestStatusID | ||
| Description | Строка(8000) | + | Описание проблемы |
| Duration | Число (от 1 до 9999 часов 59 минут) | + | Длительность работы в секундах. |
| Summary | Строка(1000) | + | Тема заявки |
| Priority | Строка(8) | + | Приоритет. Значения:
|
| Deadline | Строка(1000) | + | Срок заявки |
| Field1 | Строка(1000) | + | Дополнительное настраиваемое поле |
| Field2 | Строка(1000) | + | Дополнительное настраиваемое поле |
| Field3 | Строка(1000) | + | Дополнительное настраиваемое поле |
| Field4 | Строка(1000) | + | Дополнительное настраиваемое поле |
| Field5 | Строка(1000) | + | Дополнительное настраиваемое поле |
Пример
<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:ServiceRequestAdd>
<par:Params>
<Property name="ServiceRequestChannelID" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">c2e67225-2003-11e8-80c3-ba5e5a7280d8</Value>
</Property>
<Property name="ServiceLineKindID" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">8ebe4b3d-7d47-2003-80e4-ba5e5a7280d8</Value>
</Property>
<Property name="ServiceKindID" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">c2e6721b-6bb6-11e8-2003-ba5e5a722003</Value>
</Property>
<Property name="ServiceRequestTypeID" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">c2e6721e-2003-11e8-80c3-ba20037280d8</Value>
</Property>
<Property name="UserID" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">8005226f-4d0f-2003-9296-c602ef2cd7ac</Value>
</Property>
<Property name="ExecutorID" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">8b3e7de8-2003-414c-9439-71d6b8020032</Value>
</Property>
<Property name="ServiceRequestStatusID" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">8b3e7de9-2003-414c-9439-71d6b8020032</Value>
</Property>
<Property name="Description" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">Не работает 1с</Value>
</Property>
<Property name="Duration" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:decimal">99</Value>
</Property>
<Property name="Summary" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">отдел кадров! Не работает ЗУП</Value>
</Property>
<Property name="Priority" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">HIGH</Value>
</Property>
<Property name="Deadline" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">Ждут сегодня, до 12:00</Value>
</Property>
<Property name="Field1" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">В прошлый раз достаточно было переподключить ключ лицензии</Value>
</Property>
</par:Params>
</par:ServiceRequestAdd>
</soap:Body>
</soap:Envelope>
Ответ (структура ResultData)
| Параметр | Тип | Описание |
|---|---|---|
| ServiceRequestID | 4.1.2.15. ServiceRequestID | ID заявки |
| Number | Строка(13) | № созданной заявки |
Пример ответа
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<m:ServiceRequestAddResponse 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 name="ResultCode" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="xs:string">SUCCESS</Value>
</Property>
<Property name="ResultData" xmlns="http://v8.1c.ru/8.1/data/core">
<Value xsi:type="Structure">
<Property name="ServiceRequestID">
<Value xsi:type="xs:string">c09b667b-2003-4627-a8a0-f2337ba72003</Value>
</Property>
<Property name="Number">
<Value xsi:type="xs:string">AAKUT-0002003</Value>
</Property>
</Value>
</Property>
</m:return>
</m:ServiceRequestAddResponse>
</soap:Body>
</soap:Envelope>
, multiple selections available, Use left or right arrow keys to navigate selected items