POST api/GroupApi/ImportContacts

Request Information

URI Parameters

None.

Body Parameters

Collection of Contact
NameDescriptionTypeAdditional information
Id

integer

None.

GroupId

integer

None.

LoginId

integer

None.

Name

string

None.

MobileNo

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "GroupId": 1,
    "LoginId": 1,
    "Name": "sample string 2",
    "MobileNo": "sample string 3"
  },
  {
    "Id": 1,
    "GroupId": 1,
    "LoginId": 1,
    "Name": "sample string 2",
    "MobileNo": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.DataModels">
  <Contact>
    <GroupId>1</GroupId>
    <Id>1</Id>
    <LoginId>1</LoginId>
    <MobileNo>sample string 3</MobileNo>
    <Name>sample string 2</Name>
  </Contact>
  <Contact>
    <GroupId>1</GroupId>
    <Id>1</Id>
    <LoginId>1</LoginId>
    <MobileNo>sample string 3</MobileNo>
    <Name>sample string 2</Name>
  </Contact>
</ArrayOfContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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