POST api/FrontierWeb/MyProfile/SaveEmailSubscriptions
Save the email subscriptions.
Request Information
URI Parameters
None.
Body Parameters
Collection of SubscriptionBase| Name | Description | Type | Additional information |
|---|---|---|---|
| AddressType | string |
None. |
|
| ContactName | string |
None. |
|
| IdNo | integer |
None. |
|
| MsgType | string |
None. |
|
| MsgSubType | string |
None. |
|
| CompanyCode | string |
None. |
|
| CostCenterId | string |
None. |
|
| CustomerId | string |
None. |
|
| EmployeeIdNo | integer |
None. |
|
| EmailAddress | string |
None. |
|
| DateTimeCreated | date |
None. |
|
| ObjectKeyString | string |
None. |
|
| PrimaryKey | Collection of Object |
None. |
|
| IsPrimaryKeyInitialized | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"AddressType": "sample string 1",
"ContactName": "sample string 2",
"IdNo": 3,
"MsgType": "sample string 4",
"MsgSubType": "sample string 5",
"CompanyCode": "sample string 6",
"CostCenterId": "sample string 7",
"CustomerId": "sample string 8",
"EmployeeIdNo": 9,
"EmailAddress": "sample string 10",
"DateTimeCreated": "2025-11-05T14:59:05.9417649-06:00",
"ObjectKeyString": "sample string 12",
"PrimaryKey": [
3
],
"IsPrimaryKeyInitialized": true
},
{
"AddressType": "sample string 1",
"ContactName": "sample string 2",
"IdNo": 3,
"MsgType": "sample string 4",
"MsgSubType": "sample string 5",
"CompanyCode": "sample string 6",
"CostCenterId": "sample string 7",
"CustomerId": "sample string 8",
"EmployeeIdNo": 9,
"EmailAddress": "sample string 10",
"DateTimeCreated": "2025-11-05T14:59:05.9417649-06:00",
"ObjectKeyString": "sample string 12",
"PrimaryKey": [
3
],
"IsPrimaryKeyInitialized": true
}
]
text/html
Sample:
[{"AddressType":"sample string 1","ContactName":"sample string 2","IdNo":3,"MsgType":"sample string 4","MsgSubType":"sample string 5","CompanyCode":"sample string 6","CostCenterId":"sample string 7","CustomerId":"sample string 8","EmployeeIdNo":9,"EmailAddress":"sample string 10","DateTimeCreated":"2025-11-05T14:59:05.9417649-06:00","ObjectKeyString":"sample string 12","PrimaryKey":[3],"IsPrimaryKeyInitialized":true},{"AddressType":"sample string 1","ContactName":"sample string 2","IdNo":3,"MsgType":"sample string 4","MsgSubType":"sample string 5","CompanyCode":"sample string 6","CostCenterId":"sample string 7","CustomerId":"sample string 8","EmployeeIdNo":9,"EmailAddress":"sample string 10","DateTimeCreated":"2025-11-05T14:59:05.9417649-06:00","ObjectKeyString":"sample string 12","PrimaryKey":[3],"IsPrimaryKeyInitialized":true}]
Response Information
Resource Description
GenericTransactionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnedObject | Object |
None. |
|
| IsSuccessful |
Indicates if the transaction was successful or not. |
boolean |
None. |
| ReturnedMessages |
Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction. |
Collection of ReturnedMessage |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReturnedObject": {},
"IsSuccessful": true,
"ReturnedMessages": null
}
text/html
Sample:
{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null}