POST api/ContactMember/ContactMember

Documentation for 'ContactMember'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "item": {
    "id": 1,
    "senderFirstName": "sample string 2",
    "senderLastName": "sample string 3",
    "senderContact": "sample string 4",
    "senderEmail": "sample string 5",
    "subject": "sample string 6",
    "message": "sample string 7",
    "receiverType": "sample string 8",
    "receiverID": "sample string 9",
    "sentOn": "2025-01-09T11:35:07.3865852+08:00",
    "status": "sample string 10",
    "memberName": "sample string 11",
    "memberDivision": "sample string 12"
  }
}

application/xml, text/xml

Sample:
<SetContactMemberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISVServices.Models">
  <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SISVServicesDA.Models">
    <d2p1:id>1</d2p1:id>
    <d2p1:memberDivision>sample string 12</d2p1:memberDivision>
    <d2p1:memberName>sample string 11</d2p1:memberName>
    <d2p1:message>sample string 7</d2p1:message>
    <d2p1:receiverID>sample string 9</d2p1:receiverID>
    <d2p1:receiverType>sample string 8</d2p1:receiverType>
    <d2p1:senderContact>sample string 4</d2p1:senderContact>
    <d2p1:senderEmail>sample string 5</d2p1:senderEmail>
    <d2p1:senderFirstName>sample string 2</d2p1:senderFirstName>
    <d2p1:senderLastName>sample string 3</d2p1:senderLastName>
    <d2p1:sentOn>2025-01-09T11:35:07.3865852+08:00</d2p1:sentOn>
    <d2p1:status>sample string 10</d2p1:status>
    <d2p1:subject>sample string 6</d2p1:subject>
  </item>
</SetContactMemberRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'SetContactMemberRequest'.