Update Contact/ContactList
You can update contact/contactlist from here
/ContactEx/CreateUpdateContactListForPWPForExternalUser
Query String
Parameter | Required | Value |
---|---|---|
externalUser | Mandatory | 1 |
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 |
---|---|---|
EncryptedPWContactID | Mandatory | User Input |
Address1 | Optional | User Input |
CompanyName | Optional | User Input |
Mandatory | User Input | |
Fax | Optional | User Input |
FirstName | Mandatory | User Input |
LastName | Optional | User Input |
PhoneWork | Optional | User Input |
*State | Mandatory | User Input |
*Country | Mandatory | User Input |
City | Optional | User Input |
ZipCode | Optional | User Input |
*TimeZone | Mandatory | User Input |
PublicPWAccountID | Mandatory | 1 |
Notes | Optional | User Input |
Example
externalUser:1
TokenKey:Your Token Key
ModuleKeyRequest:PWP
Accept-Language:en-US
Accept-Encoding:gzip
Content-Type:application/json
[{
"EncryptedPWContactID" : "EncryptedPWContactID which need to update<User Input> ",
"Address1" : "User Input",
"CompanyName" : "User Input",
"Email": "User Input",
"Fax": "User Input",
"FirstName" : "User Input",
"LastName" : "User Input",
"PhoneWork" : "User Input",
"State":{"StateName":"American Samoa","StateID":2169},
"Country":{"CountryName":"USA","CountryID":1},
"City" : "User Input",
"ZipCode" : "User Input",
"TimeZone":{"TimeZoneName":"(GMT-11:00) Midway Island, Samoa","TimeZoneID":90},
"PublicPWAccountID" : 1,
"Notes" : "User Input",
}]
[
{
"PWAccountID": 0,
"EncryptedPWAccountID": "55SMGlXwzNJmamAjfYSQwA%3d%3d",
"Address1": "",
"City": "",
"Country": {
"CountryID": 1,
"CountryName": "USA"
},
"State": {
"StateID": 1,
"StateName": "Alabama",
"TimeZoneID": 0
},
"TimeZone": {
"TimeZoneID": 78,
"TimeZoneName": "India Standard Time",
"TimeDiff": 0
},
"ZipCode": "",
"Fax": "",
"PhoneWork": "",
"YearsInBusiness": 0,
"ProjectRoleID": 0,
"Notes": "",
"ContactIdentifier": "00000000-0000-0000-0000-000000000000",
"EncryptedPWUserID": "CW7njOk%2fRo4%3d",
"CLPWContactID": 0,
"PWContactID": 0,
"EncryptedPWContactID": "n58d6pCEzmcBiIxwtZCzHA%3d%3d",
"PublicPWAccountID": 0,
"EncryptedPublicPWAccountID": "8Hq5jgK1axM%3d",
"FirstName": "test116",
"LastName": "",
"Email": "[email protected]",
"ContactName": "test116",
"CompanyName": "Test Company",
"IsPublicContact": false,
"UserLicenseType": 0,
"PWPLicUserType": 3,
"Admin": false,
"ShareProjectCount": 0,
"GuestPWUserID": 0,
"EncryptedGuestPWUserID": "CW7njOk%2fRo4%3d"
},
{
"PWAccountID": 0,
"EncryptedPWAccountID": "55SMGlXwzNJmamAjfYSQwA%3d%3d",
"Address1": "",
"City": "",
"Country": {
"CountryID": 1,
"CountryName": "USA"
},
"State": {
"StateID": 1,
"StateName": "Alabama",
"TimeZoneID": 0
},
"TimeZone": {
"TimeZoneID": 78,
"TimeZoneName": "India Standard Time",
"TimeDiff": 0
},
"ZipCode": "",
"Fax": "",
"PhoneWork": "",
"YearsInBusiness": 0,
"ProjectRoleID": 0,
"Notes": "",
"ContactIdentifier": "00000000-0000-0000-0000-000000000000",
"EncryptedPWUserID": "CW7njOk%2fRo4%3d",
"CLPWContactID": 0,
"PWContactID": 0,
"EncryptedPWContactID": "n58d6pCEzmdUOaFz0IQFnQ%3d%3d",
"PublicPWAccountID": 0,
"EncryptedPublicPWAccountID": "8Hq5jgK1axM%3d",
"FirstName": "test117",
"LastName": "",
"Email": "[email protected]",
"ContactName": "test117",
"CompanyName": "Test Company",
"IsPublicContact": false,
"UserLicenseType": 0,
"PWPLicUserType": 3,
"Admin": false,
"ShareProjectCount": 0,
"GuestPWUserID": 0,
"EncryptedGuestPWUserID": "CW7njOk%2fRo4%3d"
}
]
Remarks:
- In Request Body: * fields is objects so this fields have their own properties. Below is the property info,
a. State – StateName and StateID
b. Country – CountryName and CountryID
c. TimeZone – TimeZoneName and TimeZoneID
Updated about 7 years ago