POST api/UserManagement/CreateContact

Create contact

Request Information

URI Parameters

None.

Body Parameters

Contact details

ContactDto
NameDescriptionTypeAdditional information
ProfileId

string

None.

ContactProfileId

string

None.

FullName

string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

DisplayName

string

None.

Email

string

None.

Company

string

None.

JobTitle

string

None.

UserType

UserType

None.

ContactId

integer

None.

DepartmentId

integer

None.

Thumbnail

string

None.

DefaultPhone

string

None.

HomePhone

string

None.

MobilePhone

string

None.

InternetEmail

string

None.

HomeEmail

string

None.

WorkEmail

string

None.

CellMsg

string

None.

HomeFax

string

None.

WorkPhone

string

None.

WorkFax

string

None.

Address

string

None.

AddressList

Collection of AddressDto

None.

DobDate

date

None.

IsZorroUser

boolean

None.

Other

string

None.

ZorroUserType

ZorroType

None.

Website

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProfileId": "ZgB1%2BT1znx9xCbpd4kYQLw%3D%3D",
  "ContactProfileId": "gr4EGFHbcHXRBfsZSNzsRQ%3D%3D",
  "FullName": "sample string 5",
  "FirstName": "sample string 6",
  "MiddleName": "sample string 7",
  "LastName": "sample string 8",
  "DisplayName": "sample string 9",
  "Email": "sample string 10",
  "Company": "sample string 11",
  "JobTitle": "sample string 12",
  "UserType": 1,
  "ContactId": 13,
  "DepartmentId": 14,
  "Thumbnail": "sample string 15",
  "DefaultPhone": "sample string 16",
  "HomePhone": "sample string 17",
  "MobilePhone": "sample string 18",
  "InternetEmail": "sample string 19",
  "HomeEmail": "sample string 20",
  "WorkEmail": "sample string 21",
  "CellMsg": "sample string 22",
  "HomeFax": "sample string 23",
  "WorkPhone": "sample string 24",
  "WorkFax": "sample string 25",
  "Address": "sample string 26",
  "AddressList": [
    {
      "Line1": "sample string 1",
      "Line2": "sample string 2",
      "City": "sample string 3",
      "County": "sample string 4",
      "State": 0,
      "ZipCode": "sample string 5",
      "Country": "sample string 6",
      "Type": 1
    },
    {
      "Line1": "sample string 1",
      "Line2": "sample string 2",
      "City": "sample string 3",
      "County": "sample string 4",
      "State": 0,
      "ZipCode": "sample string 5",
      "Country": "sample string 6",
      "Type": 1
    }
  ],
  "DobDate": "2019-12-10T09:09:02.5215196Z",
  "IsZorroUser": true,
  "Other": "sample string 29",
  "ZorroUserType": 1,
  "Website": "sample string 30"
}

application/xml, text/xml

Sample:
<ContactDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto.User">
  <Address>sample string 26</Address>
  <AddressList>
    <AddressDto>
      <City>sample string 3</City>
      <Country>sample string 6</Country>
      <County>sample string 4</County>
      <Line1>sample string 1</Line1>
      <Line2>sample string 2</Line2>
      <State>AL</State>
      <Type>Home</Type>
      <ZipCode>sample string 5</ZipCode>
    </AddressDto>
    <AddressDto>
      <City>sample string 3</City>
      <Country>sample string 6</Country>
      <County>sample string 4</County>
      <Line1>sample string 1</Line1>
      <Line2>sample string 2</Line2>
      <State>AL</State>
      <Type>Home</Type>
      <ZipCode>sample string 5</ZipCode>
    </AddressDto>
  </AddressList>
  <CellMsg>sample string 22</CellMsg>
  <Company>sample string 11</Company>
  <ContactId>13</ContactId>
  <ContactProfileId>gr4EGFHbcHXRBfsZSNzsRQ%3D%3D</ContactProfileId>
  <ContactProfileIdNum>3</ContactProfileIdNum>
  <DefaultPhone>sample string 16</DefaultPhone>
  <DepartmentId>14</DepartmentId>
  <DisplayName>sample string 9</DisplayName>
  <DobDate>2019-12-10T09:09:02.5215196Z</DobDate>
  <Email>sample string 10</Email>
  <FirstName>sample string 6</FirstName>
  <FullName>sample string 5</FullName>
  <HomeEmail>sample string 20</HomeEmail>
  <HomeFax>sample string 23</HomeFax>
  <HomePhone>sample string 17</HomePhone>
  <InternetEmail>sample string 19</InternetEmail>
  <IsZorroUser>true</IsZorroUser>
  <JobTitle>sample string 12</JobTitle>
  <LastName>sample string 8</LastName>
  <MiddleName>sample string 7</MiddleName>
  <MobilePhone>sample string 18</MobilePhone>
  <Other>sample string 29</Other>
  <ProfileId>ZgB1%2BT1znx9xCbpd4kYQLw%3D%3D</ProfileId>
  <ProfileIdNum>1</ProfileIdNum>
  <Thumbnail>sample string 15</Thumbnail>
  <UserType>Internal</UserType>
  <Website>sample string 30</Website>
  <WorkEmail>sample string 21</WorkEmail>
  <WorkFax>sample string 25</WorkFax>
  <WorkPhone>sample string 24</WorkPhone>
  <ZorroUserType>ZorroSign</ZorroUserType>
</ContactDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Contact with contact id.

ResponseOfContactDto
NameDescriptionTypeAdditional information
StatusCode

StatusCode

None.

Message

string

None.

Data

ContactDto

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1000,
  "Message": "sample string 1",
  "Data": {
    "ProfileId": "ZgB1%2BT1znx9xCbpd4kYQLw%3D%3D",
    "ContactProfileId": "gr4EGFHbcHXRBfsZSNzsRQ%3D%3D",
    "FullName": "sample string 5",
    "FirstName": "sample string 6",
    "MiddleName": "sample string 7",
    "LastName": "sample string 8",
    "DisplayName": "sample string 9",
    "Email": "sample string 10",
    "Company": "sample string 11",
    "JobTitle": "sample string 12",
    "UserType": 1,
    "ContactId": 13,
    "DepartmentId": 14,
    "Thumbnail": "sample string 15",
    "DefaultPhone": "sample string 16",
    "HomePhone": "sample string 17",
    "MobilePhone": "sample string 18",
    "InternetEmail": "sample string 19",
    "HomeEmail": "sample string 20",
    "WorkEmail": "sample string 21",
    "CellMsg": "sample string 22",
    "HomeFax": "sample string 23",
    "WorkPhone": "sample string 24",
    "WorkFax": "sample string 25",
    "Address": "sample string 26",
    "AddressList": [
      {
        "Line1": "sample string 1",
        "Line2": "sample string 2",
        "City": "sample string 3",
        "County": "sample string 4",
        "State": 0,
        "ZipCode": "sample string 5",
        "Country": "sample string 6",
        "Type": 1
      },
      {
        "Line1": "sample string 1",
        "Line2": "sample string 2",
        "City": "sample string 3",
        "County": "sample string 4",
        "State": 0,
        "ZipCode": "sample string 5",
        "Country": "sample string 6",
        "Type": 1
      }
    ],
    "DobDate": "2019-12-10T09:09:02.5215196Z",
    "IsZorroUser": true,
    "Other": "sample string 29",
    "ZorroUserType": 1,
    "Website": "sample string 30"
  }
}

application/xml, text/xml

Sample:
<ResponseOfContactDtokvwhp91_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto.User">
    <d2p1:Address>sample string 26</d2p1:Address>
    <d2p1:AddressList>
      <d2p1:AddressDto>
        <d2p1:City>sample string 3</d2p1:City>
        <d2p1:Country>sample string 6</d2p1:Country>
        <d2p1:County>sample string 4</d2p1:County>
        <d2p1:Line1>sample string 1</d2p1:Line1>
        <d2p1:Line2>sample string 2</d2p1:Line2>
        <d2p1:State>AL</d2p1:State>
        <d2p1:Type>Home</d2p1:Type>
        <d2p1:ZipCode>sample string 5</d2p1:ZipCode>
      </d2p1:AddressDto>
      <d2p1:AddressDto>
        <d2p1:City>sample string 3</d2p1:City>
        <d2p1:Country>sample string 6</d2p1:Country>
        <d2p1:County>sample string 4</d2p1:County>
        <d2p1:Line1>sample string 1</d2p1:Line1>
        <d2p1:Line2>sample string 2</d2p1:Line2>
        <d2p1:State>AL</d2p1:State>
        <d2p1:Type>Home</d2p1:Type>
        <d2p1:ZipCode>sample string 5</d2p1:ZipCode>
      </d2p1:AddressDto>
    </d2p1:AddressList>
    <d2p1:CellMsg>sample string 22</d2p1:CellMsg>
    <d2p1:Company>sample string 11</d2p1:Company>
    <d2p1:ContactId>13</d2p1:ContactId>
    <d2p1:ContactProfileId>gr4EGFHbcHXRBfsZSNzsRQ%3D%3D</d2p1:ContactProfileId>
    <d2p1:ContactProfileIdNum>3</d2p1:ContactProfileIdNum>
    <d2p1:DefaultPhone>sample string 16</d2p1:DefaultPhone>
    <d2p1:DepartmentId>14</d2p1:DepartmentId>
    <d2p1:DisplayName>sample string 9</d2p1:DisplayName>
    <d2p1:DobDate>2019-12-10T09:09:02.5215196Z</d2p1:DobDate>
    <d2p1:Email>sample string 10</d2p1:Email>
    <d2p1:FirstName>sample string 6</d2p1:FirstName>
    <d2p1:FullName>sample string 5</d2p1:FullName>
    <d2p1:HomeEmail>sample string 20</d2p1:HomeEmail>
    <d2p1:HomeFax>sample string 23</d2p1:HomeFax>
    <d2p1:HomePhone>sample string 17</d2p1:HomePhone>
    <d2p1:InternetEmail>sample string 19</d2p1:InternetEmail>
    <d2p1:IsZorroUser>true</d2p1:IsZorroUser>
    <d2p1:JobTitle>sample string 12</d2p1:JobTitle>
    <d2p1:LastName>sample string 8</d2p1:LastName>
    <d2p1:MiddleName>sample string 7</d2p1:MiddleName>
    <d2p1:MobilePhone>sample string 18</d2p1:MobilePhone>
    <d2p1:Other>sample string 29</d2p1:Other>
    <d2p1:ProfileId>ZgB1%2BT1znx9xCbpd4kYQLw%3D%3D</d2p1:ProfileId>
    <d2p1:ProfileIdNum>1</d2p1:ProfileIdNum>
    <d2p1:Thumbnail>sample string 15</d2p1:Thumbnail>
    <d2p1:UserType>Internal</d2p1:UserType>
    <d2p1:Website>sample string 30</d2p1:Website>
    <d2p1:WorkEmail>sample string 21</d2p1:WorkEmail>
    <d2p1:WorkFax>sample string 25</d2p1:WorkFax>
    <d2p1:WorkPhone>sample string 24</d2p1:WorkPhone>
    <d2p1:ZorroUserType>ZorroSign</d2p1:ZorroUserType>
  </Data>
  <Message>sample string 1</Message>
  <Result />
  <StatusCode>Success</StatusCode>
</ResponseOfContactDtokvwhp91_P>