POST api/Contact/RestoreOrPermanentalyDeleteContactsByContactIds

Request Information

URI Parameters

None.

Body Parameters

RestoreDeletedContactViewModel
NameDescriptionTypeAdditional information
SubAccountId

string

None.

UserId

string

None.

ContactIds

Collection of string

None.

IsRestoreContacts

boolean

None.

IsAllContacts

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SubAccountId": "sample string 1",
  "UserId": "sample string 2",
  "ContactIds": [
    "sample string 1",
    "sample string 2"
  ],
  "IsRestoreContacts": true,
  "IsAllContacts": true
}

application/xml, text/xml

Sample:
<RestoreDeletedContactViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Contact">
  <ContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ContactIds>
  <IsAllContacts>true</IsAllContacts>
  <IsRestoreContacts>true</IsRestoreContacts>
  <SubAccountId>sample string 1</SubAccountId>
  <UserId>sample string 2</UserId>
</RestoreDeletedContactViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.