Create Business Contact
Creates a new business contact for the transaction.
Body
The business contact to create.
-
The unique id.
-
The date and time of creation in UTC time.
-
The date and time last modification in UTC time.
-
The unique id of the contact type.
-
The end or side of the transaction with which the contact is associated.
Values are
BorS. -
The prefix for the contact, such as Mr., Mrs., Ms., Dr., etc.
-
The first name of the contact.
-
The last name of the contact.
-
The name of the company.
-
The full street address for the company of the contact.
-
The second line of the street address, if applicable (e.g., suite number).
-
The city of the contact's address.
-
The postal code of the contact's address. This will be unformatted.
-
The two character code for the province or state.
-
The two character code for the country of the contact's address.
-
The main phone number for the contact. This will be unformatted.
-
The phone number of the business for the contact. This will be unformatted.
-
The mobile or cell phone number for the contact. This will be unformatted.
-
The main fax number for the contact. This will be unformatted.
-
The main email address of the contact.
-
The main email address of the contact.
-
A read only representation of a contact type.
Additional properties are NOT allowed.
Responses
-
OK
-
Request succeeded.
-
Invalid request. See response body for details.
-
Unauthorized. See response body for details.
-
Permission denied. See response body for details.
-
Not found. See response body for details.
-
Conflict. See response body for details.
-
Validation failed. See response body for details.
curl \
--request POST 'https://api.lwolf.com/backoffice/v1/transactions/{transactionId}/business-contacts' \
--header "Content-Type: application/json" \
--data '{"id":"string","prefix":"string","endCode":"B","lastName":"string","firstName":"string","addressCity":"string","companyName":"string","contactType":{"code":"string","name":"string"},"addressLine1":"string","addressLine2":"string","contactTypeId":"string","faxNumberMain":"string","phoneNumberMain":"string","createdTimestamp":"string","emailAddressMain":"string","emailAddressWork":"string","addressPostalCode":"string","modifiedTimestamp":"string","phoneNumberMobile":"string","addressCountryCode":"string","addressProvinceCode":"string","phoneNumberBusiness":"string"}'
{
"id": "string",
"prefix": "string",
"endCode": "B",
"lastName": "string",
"firstName": "string",
"addressCity": "string",
"companyName": "string",
"contactType": {
"code": "string",
"name": "string"
},
"addressLine1": "string",
"addressLine2": "string",
"contactTypeId": "string",
"faxNumberMain": "string",
"phoneNumberMain": "string",
"createdTimestamp": "string",
"emailAddressMain": "string",
"emailAddressWork": "string",
"addressPostalCode": "string",
"modifiedTimestamp": "string",
"phoneNumberMobile": "string",
"addressCountryCode": "string",
"addressProvinceCode": "string",
"phoneNumberBusiness": "string"
}
{
"id": "string",
"prefix": "string",
"endCode": "B",
"lastName": "string",
"firstName": "string",
"addressCity": "string",
"companyName": "string",
"contactType": {
"code": "string",
"name": "string"
},
"addressLine1": "string",
"addressLine2": "string",
"contactTypeId": "string",
"faxNumberMain": "string",
"phoneNumberMain": "string",
"createdTimestamp": "string",
"emailAddressMain": "string",
"emailAddressWork": "string",
"addressPostalCode": "string",
"modifiedTimestamp": "string",
"phoneNumberMobile": "string",
"addressCountryCode": "string",
"addressProvinceCode": "string",
"phoneNumberBusiness": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}