...
Блок кода | ||
---|---|---|
| ||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://ispringlearn.com/go/services/api/soap"> <soapenv:Header/> <soapenv:Body> <soap:AddSmartGroupRequest> <soap:credentials> <soap:accountUrl>https://acc-124myaccount.gray.local.learn.ispringdev.com<ispringlearn.ru</soap:accountUrl> <soap:email>owner</soap:email> <soap:password>12345Q</soap:password> </soap:credentials> <soap:name> NEW GROUP</soap:name> <soap:rules> <!--1 or more repetitions:--> <soap:and> <!--1 or more repetitions:--> <soap:or> <soap:rule> <soap:attributeType>1</soap:attributeType> <!--Optional:--> <soap:attributeId> </soap:attributeId> <soap:operator>2</soap:operator> <soap:value>id_departnent</soap:value> </soap:rule> </soap:or> <soap:or> <soap:rule> <soap:attributeType>2</soap:attributeType> <!--Optional:--> <soap:attributeId></soap:attributeId> <soap:operator>1</soap:operator> <soap:value>id_group</soap:value> </soap:rule> </soap:or> <soap:or> <soap:rule> <soap:attributeType>3</soap:attributeType> <!--Optional:--> <soap:attributeId>JON_TITLE</soap:attributeId> <soap:operator>1</soap:operator> <soap:value>кассир</soap:value> </soap:rule> </soap:or> </soap:and> </soap:rules> </soap:AddSmartGroupRequest> </soapenv:Body> </soapenv:Envelope> |
...