Create Contact/ContactList

You can create contact from here

/ContactEx/CreateUpdateContactListForPWPForExternalUser

Query String

ParameterRequiredValue
externalUserMandatory1

Request Header

ParameterRequiredValue
TokenKeyMandatoryUser Input
ModuleKeyRequestMandatoryPWP
Accept-LanguageOptionalen-US
Accept-EncodingOptionalgzip
Content-TypeMandatoryapplication/json

Request Body

ParameterRequiredValue
Address1OptionalUser Input
CompanyNameOptionalUser Input
EmailMandatoryUser Input
FaxOptionalUser Input
FirstNameMandatoryUser Input
LastNameOptionalUser Input
PhoneWorkOptionalUser Input
*StateMandatoryUser Input
*CountryMandatoryUser Input
CityOptionalUser Input
ZipCodeOptionalUser Input
*TimeZoneMandatoryUser Input
PublicPWAccountIDMandatory1
NotesOptionalUser Input

Example

externalUser:1
TokenKey:Your Token Key
ModuleKeyRequest:PWP
Accept-Language:en-US
Accept-Encoding:gzip
Content-Type:application/json
[{
	"Address1":"",
	"CompanyName":"test",
	"Email":"[email protected]",
	"Fax":"",
	"FirstName":"",
	"LastName":"",
	"PhoneWork":"",
	"State":{"StateName":"American Samoa","StateID":2169},
	"Country":{"CountryName":"USA","CountryID":1},
	"City":"",
	"ZipCode":"",
	"TimeZone":{"TimeZoneName":"(GMT-11:00) Midway Island, Samoa","TimeZoneID":90},
	"PublicPWAccountID":1,
	"Notes":""
}]
[
  {
    "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:

  1. 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