POST api/CRM/SendSalesOrderSignInEmail
Sends an email to customer.
Request Information
URI Parameters
None.
Body Parameters
SubPurchaseOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| UniqueNo | string |
None. |
|
| BillingAddress | AddressModel |
None. |
|
| PaymentDuration | PaymentDuration |
None. |
|
| StartDate | date |
None. |
|
| CoolingOffPeriod | date |
None. |
|
| FirstBillingDate | date |
None. |
|
| FirstBillingAmount | decimal number |
None. |
|
| NextBillingDate | date |
None. |
|
| NextBillingAmount | decimal number |
None. |
|
| InvoiceType | InvoiceTypes |
None. |
|
| AgreementEndDate | date |
None. |
|
| SignInCode | string |
None. |
|
| SalesEmailId | string |
None. |
|
| PersonId | integer |
None. |
|
| PersonOrganisationId | integer |
None. |
|
| Products | Collection of SubPurchasedProduct |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Phone": "sample string 2",
"Email": "sample string 3",
"UniqueNo": "sample string 4",
"BillingAddress": {
"$id": "2",
"Address1": "sample string 1",
"Address2": "sample string 2",
"City": "sample string 3",
"DoorCode": "sample string 4",
"PostNumber": "sample string 5"
},
"PaymentDuration": 1,
"StartDate": "2025-12-22T03:03:49.7080383+00:00",
"CoolingOffPeriod": "2025-12-22T03:03:49.7080383+00:00",
"FirstBillingDate": "2025-12-22T03:03:49.7080383+00:00",
"FirstBillingAmount": 8.1,
"NextBillingDate": "2025-12-22T03:03:49.7080383+00:00",
"NextBillingAmount": 10.1,
"InvoiceType": 1,
"AgreementEndDate": "2026-12-21T03:03:49.7080383+00:00",
"SignInCode": "sample string 11",
"SalesEmailId": "sample string 12",
"PersonId": 13,
"PersonOrganisationId": 14,
"Products": [
{
"$id": "3",
"PackageName": "sample string 1",
"ExtraTagCount": 2,
"SecurityServiceOpted": true,
"Address": {
"$ref": "2"
}
},
{
"$ref": "3"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfEmailResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | EmailResponse |
None. |
|
| Result | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"$id": "2",
"EmailType": "sample string 1",
"IsSent": true,
"Message": "sample string 3"
},
"Result": true,
"Message": "sample string 2",
"Errors": {
"$id": "3"
}
}