Message-ID: <1172895392.15773.1614958084403.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15772_1884201846.1614958084403" ------=_Part_15772_1884201846.1614958084403 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html group PUT method

group PUT method

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

Create a new group.

=20
=20
=20
=20
=20
=20

If no errors are returned, the response is the same as the group GET method; obviously no numbers = will be listed since it will be an empty group.

=20
=20
=20
=20
=20
=20

Specific errors:

=20
=20
=20
=20
Code  Meaning
0 DEPRECATED =E2=80=93 status code 400 (bad reques= t) is returned instead.
1 A group with that name already exists (group nam= es are not case-sensitive).
2

The group name is invalid. Only up to 25 alph= a-numeric characters, and '-' are allowed. The name cannot consist of only = digits, at least one alpha character or '-' must be present.

=20 =20

that a 404 status code is returned if the group specified does not exist= ; 400 is returned if the group name was not specified.

=20
=20
=20
=20
=20
=20
=20
=20

DTD:

=20
=20
=20
=20
=20
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<!--
 PUBLIC ID : -//textmarketer.co.uk//DTD Web Services REST 1.6//EN
 SYSTEM ID : http://api.textmarketer.co.uk/services/rest/DTD/group_get.dtd
-->
<!ELEMENT response (group)>
<!ATTLIST response
 =09processed_date CDATA #REQUIRED
>
<!ELEMENT group (number*) >
<!ATTLIST group
=09name CDATA #REQUIRED
 =09numbers CDATA #REQUIRED
 =09id CDATA #REQUIRED
 =09is_stop CDATA #REQUIRED
>
<!ELEMENT number (#PCDATA) >
=20
=20
=20
=20 =20
------=_Part_15772_1884201846.1614958084403--