POST api/SecureRecipients
Creates a new secure recipient or updates an existent secure recipient's information.
Request Information
URI Parameters
None.
Body Parameters
SecureRecipientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Secure recipient name. |
string |
None. |
| NotificationsEmailAddress |
Notifications email address. |
string |
None. |
| Id |
Unique ID of the model in the portal (Read only). |
globally unique identifier |
None. |
| ExternalId |
Unique ID of the model on integrating system (Required). |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"notificationsEmailAddress": "sample string 2",
"id": "b2c0a0f9-3c3e-4c8a-a981-9d17ca780e80",
"externalId": "sample string 4"
}
application/xml, text/xml
Sample:
<SecureRecipientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.SecureRecipients"> <ExternalId xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">sample string 4</ExternalId> <Id xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">b2c0a0f9-3c3e-4c8a-a981-9d17ca780e80</Id> <Name>sample string 1</Name> <NotificationsEmailAddress>sample string 2</NotificationsEmailAddress> </SecureRecipientModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SecureRecipientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Secure recipient name. |
string |
None. |
| NotificationsEmailAddress |
Notifications email address. |
string |
None. |
| Id |
Unique ID of the model in the portal (Read only). |
globally unique identifier |
None. |
| ExternalId |
Unique ID of the model on integrating system (Required). |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"notificationsEmailAddress": "sample string 2",
"id": "3be545a6-c766-4e0e-b66d-adbc549050fe",
"externalId": "sample string 4"
}
application/xml, text/xml
Sample:
<SecureRecipientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.SecureRecipients"> <ExternalId xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">sample string 4</ExternalId> <Id xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">3be545a6-c766-4e0e-b66d-adbc549050fe</Id> <Name>sample string 1</Name> <NotificationsEmailAddress>sample string 2</NotificationsEmailAddress> </SecureRecipientModel>