UserAttributeAdd
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Term>Short</Term> <Request> <Type>UserAttributeAdd</Type> <UserAttributeAdd> <Attribute> <UserID>4</UserID> <AttributeName>gadu-gadu</AttributeName> <AttributeValue>42554466</AttributeValue> </Attribute> <Attribute> <UserID>4</UserID> <AttributeName>Email</AttributeName> <AttributeValue>test@test.pl</AttributeValue> </Attribute> </UserAttributeAdd> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>UserAttributeAdd</Type> <UserAttributeAdd> <Status>OK</Status> </UserAttributeAdd> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Użytkownik o podanym ID nie istnieje</Error> </Request> </Net47> //BEGINEND//