POST api/ClientContact/PasteContactToJob
Request Information
URI Parameters
None.
Body Parameters
ClientContactDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| ClientName | string |
None. |
|
| ContactName | string |
None. |
|
| Salutation | string |
None. |
|
| Role | string |
None. |
|
| Phone | string |
None. |
|
| Fax | string |
None. |
|
| Mobile | string |
None. |
|
| Tag | string |
None. |
|
| ElectronicMail | string |
None. |
|
| ContactNote | string |
None. |
|
| StatusId | integer |
None. |
|
| UserField | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "f233f75a-59c7-4f18-9b81-b064642fc32d",
"clientId": "aaf23ac2-8f0d-4e4a-9130-c97073400788",
"clientName": "sample string 1",
"contactName": "sample string 2",
"salutation": "sample string 3",
"role": "sample string 4",
"phone": "sample string 5",
"fax": "sample string 6",
"mobile": "sample string 7",
"tag": "sample string 8",
"electronicMail": "sample string 9",
"contactNote": "sample string 10",
"statusId": 1,
"userField": "sample string 11"
}
application/xml, text/xml
Sample:
<ClientContactDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto"> <ClientId>aaf23ac2-8f0d-4e4a-9130-c97073400788</ClientId> <ClientName>sample string 1</ClientName> <ContactName>sample string 2</ContactName> <ContactNote>sample string 10</ContactNote> <ElectronicMail>sample string 9</ElectronicMail> <Fax>sample string 6</Fax> <Id>f233f75a-59c7-4f18-9b81-b064642fc32d</Id> <Mobile>sample string 7</Mobile> <Phone>sample string 5</Phone> <Role>sample string 4</Role> <Salutation>sample string 3</Salutation> <StatusId>1</StatusId> <Tag>sample string 8</Tag> <UserField>sample string 11</UserField> </ClientContactDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.