POST api/v1/RestrictedEmails

Request Information

URI Parameters

None.

Body Parameters

RestrictedEmails
NameDescriptionTypeAdditional information
ID

integer

None.

EmailAddress

string

None.

RestrictedEmailsTypeID

integer

None.

TeamIDs

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EmailAddress": "sample string 2",
  "RestrictedEmailsTypeID": 3,
  "TeamIDs": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<RestrictedEmails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <EmailAddress>sample string 2</EmailAddress>
  <ID>1</ID>
  <RestrictedEmailsTypeID>3</RestrictedEmailsTypeID>
  <TeamIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TeamIDs>
</RestrictedEmails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>