POST api/Groups/Create
Request Information
URI Parameters
None.
Body Parameters
NewGroupName | Description | Type | Additional information |
---|---|---|---|
GroupTitle | string |
None. |
|
GroupDescription | string |
None. |
|
GroupImage | string |
None. |
|
GroupType | GroupTypes |
None. |
Request Formats
application/json, text/json
Sample:
{ "GroupTitle": "sample string 1", "GroupDescription": "sample string 2", "GroupImage": "sample string 3", "GroupType": 0 }
application/xml, text/xml
Sample:
<NewGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ethos.Models"> <GroupDescription>sample string 2</GroupDescription> <GroupImage>sample string 3</GroupImage> <GroupTitle>sample string 1</GroupTitle> <GroupType>PUBLIC</GroupType> </NewGroup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GroupSingleName | Description | Type | Additional information |
---|---|---|---|
token | string |
None. |
|
status | string |
None. |
|
message | string |
None. |
|
selectedGroup | Group |
None. |
Response Formats
application/json, text/json
Sample:
{ "token": "sample string 1", "status": "sample string 2", "message": "sample string 3", "selectedGroup": null }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.