UpdateEmployeePersonalInfo_PersonalInfoUpdatingRequest - Synerdocs/synerdocs-sdk GitHub Wiki
Запрос:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:syn="http://synerdocs.ru" xmlns:mid="http://schemas.datacontract.org/2004/07/Midway.ObjectModel">
<soapenv:Header/>
<soapenv:Body>
<syn:UpdateEmployeePersonalInfo>
<syn:credentials>
<mid:AuthToken>bb0bb49b-5f27-4a5d-af0e-000019d68da5</mid:AuthToken>
<mid:BoxAddress>[email protected]</mid:BoxAddress>
</syn:credentials>
<syn:request>
<mid:Position>Специалист по ЗИ</mid:Position>
<mid:User>
<mid:Email>[email protected]</mid:Email>
<mid:FirstName>Градский</mid:FirstName>
<mid:LastName>Владимир</mid:LastName>
</mid:User>
</syn:request>
</syn:UpdateEmployeePersonalInfo>
</soapenv:Body>
</soapenv:Envelope>
Ответ:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<UpdateEmployeePersonalInfoResponse xmlns="http://synerdocs.ru">
<UpdateEmployeePersonalInfoResult xmlns:a="http://schemas.datacontract.org/2004/07/Midway.ObjectModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:Status>
<a:Code>0</a:Code>
<a:Description>Операция выполнена успешно</a:Description>
<a:Name>Success</a:Name>
</a:Status>
<a:ValidationResult>
<a:Fields/>
<a:Messages/>
<a:Name i:nil="true"/>
<a:Status>
<a:Code>0</a:Code>
<a:Description>Успешная проверка</a:Description>
<a:Name>Success</a:Name>
</a:Status>
</a:ValidationResult>
</UpdateEmployeePersonalInfoResult>
</UpdateEmployeePersonalInfoResponse>
</s:Body>
</s:Envelope>