POST Group/CreateBusiness

Request Information

URI Parameters

None.

Body Parameters

BusinessGroupCreateForm
NameDescriptionTypeAdditional information
synonym

string

None.

desc

string

None.

url

string

None.

category

integer

None.

subCategory

integer

None.

donationsEnable

boolean

None.

name

string

None.

shortDesc

string

None.

avatarGuid

string

None.

restriction

GroupRestrictionForm

None.

Request Formats

application/json, text/json

Sample:
{
  "synonym": "sample string 1",
  "desc": "sample string 2",
  "url": "sample string 3",
  "category": 1,
  "subCategory": 1,
  "donationsEnable": true,
  "name": "sample string 5",
  "shortDesc": "sample string 6",
  "avatarGuid": "sample string 7",
  "restriction": {
    "type": 0,
    "businessLevelMin": 1
  }
}

Response Information

Resource Description

GroupView
NameDescriptionTypeAdditional information
synonym

string

None.

descfull

string

None.

descshort

string

None.

createdate

string

None.

createdatestr

string

None.

datelastactivity

string

None.

datelastactivitystr

string

None.

cover

string

None.

icons

Collection of IconView

None.

outsideurl

string

None.

groupType

GroupType

None.

groupTypeStr

string

None.

restriction

GroupRestrictionView

None.

attestatRestriction

GroupAttestatRestrictionView

None.

category

GroupCategoryView

None.

enabled

boolean

None.

state

GroupState

None.

visibility

string

None.

visibilityValue

GroupOptionVisibility

None.

name

string

None.

uid

string

None.

Response Formats

application/json, text/json

Sample:
{
  "synonym": "sample string 1",
  "descfull": "sample string 2",
  "descshort": "sample string 3",
  "createdate": "sample string 4",
  "createdatestr": "sample string 5",
  "datelastactivity": "sample string 6",
  "datelastactivitystr": "sample string 7",
  "cover": "sample string 8",
  "icons": [
    {
      "id": "sample string 1",
      "isactive": true,
      "isDefault": true,
      "smallest": "sample string 4",
      "tiny": "sample string 5",
      "mini": "sample string 6",
      "small": "sample string 7",
      "normal": "sample string 8",
      "large": "sample string 9",
      "big": "sample string 10",
      "original": "sample string 11",
      "url": "sample string 12"
    },
    {
      "id": "sample string 1",
      "isactive": true,
      "isDefault": true,
      "smallest": "sample string 4",
      "tiny": "sample string 5",
      "mini": "sample string 6",
      "small": "sample string 7",
      "normal": "sample string 8",
      "large": "sample string 9",
      "big": "sample string 10",
      "original": "sample string 11",
      "url": "sample string 12"
    }
  ],
  "outsideurl": "sample string 9",
  "groupType": 0,
  "groupTypeStr": "Regular",
  "restriction": {
    "type": 0,
    "typeStr": "postEvent",
    "businessLevelMin": 1
  },
  "attestatRestriction": {
    "type": 0,
    "attestatMin": 1
  },
  "category": {
    "categoryId": 1,
    "subCategoryId": 2
  },
  "enabled": true,
  "state": 0,
  "visibility": "sample string 11",
  "visibilityValue": 0,
  "name": "sample string 12",
  "uid": "sample string 13"
}