Create Contact Group

You can create contact group from here

/GroupEx/CreateUpdateGroupForExternalUser

Query String

Parameter

Required

Value

externalUser

Mandatory

1

product

Mandatory

PWP

Request Header

Parameter

Required

Value

TokenKey

Mandatory

User Input

ModuleKeyRequest

Mandatory

PWP

Accept-Language

Optional

en-US

Accept-Encoding

Optional

gzip

Content-Type

Mandatory

application/json

Request Body

Parameter

Required

Value

GroupName

Mandatory

User Input

*GroupMembersInfo

Mandatory

User Input

Example

externalUser:1
product:"PWP"
TokenKey:Your Token Key
ModuleKeyRequest:PWP
Accept-Language:en-US
Accept-Encoding:gzip
Content-Type:application/json
[
  {
        "GroupName":"User Input",
        *"GroupMembersInfo":[{
            "EncryptedMemberID" : "User input",
            "MemberType" : 1
        }]
    }
]
[
  {
    "PWGroupID": 0,
    "EncryptedPWGroupID": "NwuD%40fRl%2fdTCZq9uxcrnuA%3d%3d",
    "GroupName": "Test201",
    "GroupMembersInfo": [
      {
        "GroupMemberID": 0,
        "EncryptedGroupMemberID": "8GwORZWNr03338gOTAgfWg%3d%3d",
        "MemberID": 0,
        "EncryptedMemberID": "o%2fai0OreCnlUq3n6hqv0lw%3d%3d",
        "MemberType": 1
      },
      {
        "GroupMemberID": 0,
        "EncryptedGroupMemberID": "8GwORZWNr02zuFcF8tAgLA%3d%3d",
        "MemberID": 0,
        "EncryptedMemberID": "PO%40asQLqouFgXI1o%4026S3w%3d%3d",
        "MemberType": 1
      }
    ]
  },
  {
    "PWGroupID": 0,
    "EncryptedPWGroupID": "NwuD%40fRl%2fdRXOUUWxQPGMw%3d%3d",
    "GroupName": "Test211",
    "GroupMembersInfo": [
      {
        "GroupMemberID": 0,
        "EncryptedGroupMemberID": "8GwORZWNr03uqs0kyE4Qxw%3d%3d",
        "MemberID": 0,
        "EncryptedMemberID": "o%2fai0OreCnlUq3n6hqv0lw%3d%3d",
        "MemberType": 1
      },
      {
        "GroupMemberID": 0,
        "EncryptedGroupMemberID": "8GwORZWNr02rPWyQ9XaQGA%3d%3d",
        "MemberID": 0,
        "EncryptedMemberID": "PO%40asQLqouFgXI1o%4026S3w%3d%3d",
        "MemberType": 1
      }
    ]
  }
]

Remarks:
1) In Request Body: * fields is objects so this fields have their own properties. Below is the property info,
a. GroupMembersInfo – EncryptedMemberID (It’s a encrypted pwcontact id) and MemberType (It’s value should be one)