POST Group/UpdateBusiness

Request Information

URI Parameters

None.

Body Parameters

BusinessGroupUpdateForm
NameDescriptionTypeAdditional information
groupUid

string

None.

donationsOptions

GroupDonationsForm

None.

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:
{
  "groupUid": "sample string 1",
  "donationsOptions": {
    "defaultSum": 1.0,
    "currency": 0,
    "buttonName": 0
  },
  "synonym": "sample string 2",
  "desc": "sample string 3",
  "url": "sample string 4",
  "category": 1,
  "subCategory": 1,
  "donationsEnable": true,
  "name": "sample string 6",
  "shortDesc": "sample string 7",
  "avatarGuid": "sample string 8",
  "restriction": {
    "type": 0,
    "businessLevelMin": 1
  }
}

Response Information

Resource Description

BusinessPageDataView
NameDescriptionTypeAdditional information
donations

GroupDonationsView

None.

donationsFromOldEvents

GroupDonationsFromOldEventsView

None.

botsList

BotsListInGroupView

None.

group

GroupInfoView

None.

followers

BaseListViewOfGroupMemberView

None.

Response Formats

application/json, text/json

Sample:
{
  "donations": {
    "sum": 1.0,
    "currency": 0,
    "currencyStr": "wMR",
    "buttonName": 0,
    "buttonNameStr": "donate",
    "defaultSum": 1.0,
    "fundingData": {
      "projectUrl": "sample string 1",
      "contributionsUrl": "sample string 2",
      "paymentUrl": "sample string 3",
      "widgetUrl": "sample string 4",
      "withdrawUrl": "sample string 5"
    },
    "contributors": {
      "countAll": 1,
      "items": [
        {
          "anonymous": true,
          "comment": "sample string 2",
          "dateCreated": "sample string 3",
          "dateCreatedStr": "sample string 4",
          "sum": 1.0,
          "currency": 0,
          "currencyStr": "wMR",
          "client": {
            "uid": "sample string 1",
            "name": "sample string 2",
            "icon": {
              "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"
            }
          },
          "user": {
            "attestat": "sample string 1",
            "attestatCode": 1,
            "bl": 1,
            "tl": 2,
            "cl": 1,
            "Gender": 0,
            "GenderStr": "female",
            "lastLoginDate": "sample string 3",
            "lastLoginDateUtc": "sample string 4",
            "lastOnlineDate": "sample string 5",
            "lastOnlineDateUtc": "sample string 6",
            "status": 0,
            "statusStr": "active",
            "interactOpportunity": true,
            "userType": 0,
            "icon": {
              "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"
            },
            "nickname": "sample string 8",
            "wmid": "sample string 9"
          }
        },
        {
          "anonymous": true,
          "comment": "sample string 2",
          "dateCreated": "sample string 3",
          "dateCreatedStr": "sample string 4",
          "sum": 1.0,
          "currency": 0,
          "currencyStr": "wMR",
          "client": {
            "uid": "sample string 1",
            "name": "sample string 2",
            "icon": {
              "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"
            }
          },
          "user": {
            "attestat": "sample string 1",
            "attestatCode": 1,
            "bl": 1,
            "tl": 2,
            "cl": 1,
            "Gender": 0,
            "GenderStr": "female",
            "lastLoginDate": "sample string 3",
            "lastLoginDateUtc": "sample string 4",
            "lastOnlineDate": "sample string 5",
            "lastOnlineDateUtc": "sample string 6",
            "status": 0,
            "statusStr": "active",
            "interactOpportunity": true,
            "userType": 0,
            "icon": {
              "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"
            },
            "nickname": "sample string 8",
            "wmid": "sample string 9"
          }
        }
      ]
    }
  },
  "donationsFromOldEvents": {
    "sumForWithdraw": 1.0,
    "currency": 0,
    "currencyStr": "wMR",
    "urlForWithdraw": "sample string 2"
  },
  "botsList": null,
  "group": {
    "stateInfo": {
      "canChangeState": true,
      "lastStateChange": {
        "reason": {
          "id": 1,
          "reason": "sample string 2"
        },
        "state": 0,
        "user": {
          "attestat": "sample string 1",
          "attestatCode": 1,
          "bl": 1,
          "tl": 2,
          "cl": 1,
          "Gender": 0,
          "GenderStr": "female",
          "lastLoginDate": "sample string 3",
          "lastLoginDateUtc": "sample string 4",
          "lastOnlineDate": "sample string 5",
          "lastOnlineDateUtc": "sample string 6",
          "status": 0,
          "statusStr": "active",
          "interactOpportunity": true,
          "userType": 0,
          "icon": {
            "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"
          },
          "nickname": "sample string 8",
          "wmid": "sample string 9"
        },
        "date": "2019-05-26T14:06:46.1725821+03:00"
      }
    },
    "createEventsAboutJoinOrOut": true,
    "author": {
      "attestat": "sample string 1",
      "attestatCode": 1,
      "bl": 1,
      "tl": 2,
      "cl": 1,
      "Gender": 0,
      "GenderStr": "female",
      "lastLoginDate": "sample string 3",
      "lastLoginDateUtc": "sample string 4",
      "lastOnlineDate": "sample string 5",
      "lastOnlineDateUtc": "sample string 6",
      "status": 0,
      "statusStr": "active",
      "interactOpportunity": true,
      "userType": 0,
      "icon": {
        "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"
      },
      "nickname": "sample string 8",
      "wmid": "sample string 9"
    },
    "admins": [
      {
        "attestat": "sample string 1",
        "attestatCode": 1,
        "bl": 1,
        "tl": 2,
        "cl": 1,
        "Gender": 0,
        "GenderStr": "female",
        "lastLoginDate": "sample string 3",
        "lastLoginDateUtc": "sample string 4",
        "lastOnlineDate": "sample string 5",
        "lastOnlineDateUtc": "sample string 6",
        "status": 0,
        "statusStr": "active",
        "interactOpportunity": true,
        "userType": 0,
        "icon": {
          "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"
        },
        "nickname": "sample string 8",
        "wmid": "sample string 9"
      },
      {
        "attestat": "sample string 1",
        "attestatCode": 1,
        "bl": 1,
        "tl": 2,
        "cl": 1,
        "Gender": 0,
        "GenderStr": "female",
        "lastLoginDate": "sample string 3",
        "lastLoginDateUtc": "sample string 4",
        "lastOnlineDate": "sample string 5",
        "lastOnlineDateUtc": "sample string 6",
        "status": 0,
        "statusStr": "active",
        "interactOpportunity": true,
        "userType": 0,
        "icon": {
          "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"
        },
        "nickname": "sample string 8",
        "wmid": "sample string 9"
      }
    ],
    "showOption": 0,
    "showOptionStr": "no",
    "invite": {
      "author": {
        "attestat": "sample string 1",
        "attestatCode": 1,
        "bl": 1,
        "tl": 2,
        "cl": 1,
        "Gender": 0,
        "GenderStr": "female",
        "lastLoginDate": "sample string 3",
        "lastLoginDateUtc": "sample string 4",
        "lastOnlineDate": "sample string 5",
        "lastOnlineDateUtc": "sample string 6",
        "status": 0,
        "statusStr": "active",
        "interactOpportunity": true,
        "userType": 0,
        "icon": {
          "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"
        },
        "nickname": "sample string 8",
        "wmid": "sample string 9"
      },
      "dateCreated": "sample string 1",
      "dateCreatedStr": "sample string 2",
      "offerId": 3,
      "contactsInGroup": {
        "countAll": 1,
        "items": [
          {
            "attestat": "sample string 1",
            "attestatCode": 1,
            "bl": 1,
            "tl": 2,
            "cl": 1,
            "Gender": 0,
            "GenderStr": "female",
            "lastLoginDate": "sample string 3",
            "lastLoginDateUtc": "sample string 4",
            "lastOnlineDate": "sample string 5",
            "lastOnlineDateUtc": "sample string 6",
            "status": 0,
            "statusStr": "active",
            "interactOpportunity": true,
            "userType": 0,
            "icon": {
              "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"
            },
            "nickname": "sample string 8",
            "wmid": "sample string 9"
          },
          {
            "attestat": "sample string 1",
            "attestatCode": 1,
            "bl": 1,
            "tl": 2,
            "cl": 1,
            "Gender": 0,
            "GenderStr": "female",
            "lastLoginDate": "sample string 3",
            "lastLoginDateUtc": "sample string 4",
            "lastOnlineDate": "sample string 5",
            "lastOnlineDateUtc": "sample string 6",
            "status": 0,
            "statusStr": "active",
            "interactOpportunity": true,
            "userType": 0,
            "icon": {
              "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"
            },
            "nickname": "sample string 8",
            "wmid": "sample string 9"
          }
        ]
      }
    },
    "eventsInMainFeed": true,
    "roles": [
      0,
      0
    ],
    "rolesStrs": [
      "author",
      "author"
    ],
    "isRequestSended": true,
    "synonym": "sample string 3",
    "descfull": "sample string 4",
    "descshort": "sample string 5",
    "createdate": "sample string 6",
    "createdatestr": "sample string 7",
    "datelastactivity": "sample string 8",
    "datelastactivitystr": "sample string 9",
    "cover": "sample string 10",
    "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 11",
    "groupType": 0,
    "groupTypeStr": "Regular",
    "restriction": {
      "type": 0,
      "typeStr": "postEvent",
      "businessLevelMin": 1
    },
    "category": {
      "categoryId": 1,
      "subCategoryId": 2
    },
    "enabled": true,
    "state": 0,
    "visibility": "sample string 13",
    "visibilityValue": 0,
    "name": "sample string 14",
    "uid": "sample string 15"
  },
  "followers": {
    "countAll": 1,
    "items": [
      {
        "roles": [
          0,
          0
        ],
        "rolesStrs": [
          "author",
          "author"
        ],
        "userFriendStatus": 0,
        "userFriendStatusStr": "Unknow",
        "offerId": 1,
        "attestat": "sample string 1",
        "attestatCode": 1,
        "bl": 1,
        "tl": 2,
        "cl": 1,
        "Gender": 0,
        "GenderStr": "female",
        "lastLoginDate": "sample string 3",
        "lastLoginDateUtc": "sample string 4",
        "lastOnlineDate": "sample string 5",
        "lastOnlineDateUtc": "sample string 6",
        "status": 0,
        "statusStr": "active",
        "interactOpportunity": true,
        "userType": 0,
        "icon": {
          "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"
        },
        "nickname": "sample string 8",
        "wmid": "sample string 9"
      },
      {
        "roles": [
          0,
          0
        ],
        "rolesStrs": [
          "author",
          "author"
        ],
        "userFriendStatus": 0,
        "userFriendStatusStr": "Unknow",
        "offerId": 1,
        "attestat": "sample string 1",
        "attestatCode": 1,
        "bl": 1,
        "tl": 2,
        "cl": 1,
        "Gender": 0,
        "GenderStr": "female",
        "lastLoginDate": "sample string 3",
        "lastLoginDateUtc": "sample string 4",
        "lastOnlineDate": "sample string 5",
        "lastOnlineDateUtc": "sample string 6",
        "status": 0,
        "statusStr": "active",
        "interactOpportunity": true,
        "userType": 0,
        "icon": {
          "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"
        },
        "nickname": "sample string 8",
        "wmid": "sample string 9"
      }
    ]
  }
}