POST api/customer/sendAuthCode?locationId={locationId}
Request Information
Allows access to child location using parent company token, in this case use location id parameter
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationId | integer |
None. |
Body Parameters
SendAuthCodeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| Type | UserContactType |
None. |
|
| FromEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"Type": 0,
"FromEmail": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |