Update group customer
put
/PASService/rest/services/groupCustomers/{groupCustomerId}
Updates a single group customer based on the specified group customer Id
Request
Supported Media Types
- application/json
Path Parameters
-
groupCustomerId: string
Pattern:
\{?[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}?
GroupCustomer Id
Root Schema : schema
Type:
string
Response
Supported Media Types
- application/json
Default Response
successful operation
Examples
This example describes how to update a single group customer based on the specified group customer Id.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X PUT -H "Accept: application/json" -u username:password "server:port/PASService/rest/services/groupCustomers/C19DCECD-31F3-4196-8374-7F27E3948918"
Example Response Body
The following shows an example of the response body in JSON format:
"{ "groupCustomer": { "multiFields": { }, "dateOfBirth": "2020-01-06T00:00:00Z", "dateOfDeath": "2090-01-06T00:00:00Z", "updatedGmt": "2020-01-06T00:00:00Z", "companyName": "PB_DICust", "email": "sa@mail.com", "prefix": "Mr", "sex": "M", "suffix": "Jo", "legalResidenceCountryCode": "US", "additionalPrefix": "PB_DICust C", "additionalSuffix": "PB_DICust CA", "title": "John", "maritalStatus": "UnMarried", "birthCountryCode": "US", "citizenshipCountryCode": "US", "birthRegionCode": "CA", "primaryPhone": "3434-3434", "textField1": "PB_DICust E", "textField2": "PB_DICust EA", "checkBox1": "E", "checkBox2": "W", "radio1": "True", "radio2": "False", "combo1": "R", "combo2": "T", "entityTypeCode": "GROUPCUST", "date1": "2020-01-06T00:00:00Z", "date2": "2020-01-06T00:00:00Z", "addresses": [ ], "customerNumber": "GC102985", "primaryEnrollmentRelationship": "Employment", "enrollmentClassGroup": "02", "allowedForCopy": "No", "hierarchyRelationship": "Employment", "clientId": "08ACBAD4-ED2B-4B38-A8A9-C844382817CF", "firstName": "John", "lastName": "We", "middleInitial": "Sa", "taxId": "999382333", "type": "20", "taxIdType": "T", "status": "Active", "companyId": "80798FC2-FEB9-4998-A575-513FF89698B1", "groupCustomerId": "C19DCECD-31F3-4196-8374-7F27E3948918" } }"