POST api/SuntechAnnouncement

Request Information

URI Parameters

None.

Body Parameters

SuntechAnnouncement
NameDescriptionTypeAdditional information
MID

integer

None.

TITLE

string

None.

MESSAGE

string

None.

EMPMST_LOCATION

string

None.

FROMDATE

date

None.

TODATE

date

None.

CREATED_BY

string

None.

IS_ACTIVE

boolean

None.

ATTACHMENT_PATH

string

None.

EmployeesList

Collection of SuntechAnnouncementEmployees

None.

DepartmentList

Collection of SuntechAnnouncementDepartment

None.

DesignationList

Collection of SuntechAnnouncementDesignation

None.

Request Formats

application/json, text/json

Sample:
{
  "MID": 1,
  "TITLE": "sample string 2",
  "MESSAGE": "sample string 3",
  "EMPMST_LOCATION": "sample string 4",
  "FROMDATE": "2026-09-06T11:40:09.2167067+04:00",
  "TODATE": "2026-09-06T11:40:09.2167067+04:00",
  "CREATED_BY": "sample string 7",
  "IS_ACTIVE": true,
  "ATTACHMENT_PATH": "sample string 9",
  "EmployeesList": [
    {
      "MID": 1,
      "EMPMST_NAME": "sample string 2"
    },
    {
      "MID": 1,
      "EMPMST_NAME": "sample string 2"
    }
  ],
  "DepartmentList": [
    {
      "MID": 1,
      "EMPMST_DEPARTMENT": "sample string 2"
    },
    {
      "MID": 1,
      "EMPMST_DEPARTMENT": "sample string 2"
    }
  ],
  "DesignationList": [
    {
      "MID": 1,
      "EMPMST_DESIGNATION": "sample string 2"
    },
    {
      "MID": 1,
      "EMPMST_DESIGNATION": "sample string 2"
    }
  ]
}

text/html

Sample:
{"MID":1,"TITLE":"sample string 2","MESSAGE":"sample string 3","EMPMST_LOCATION":"sample string 4","FROMDATE":"2026-09-06T11:40:09.2167067+04:00","TODATE":"2026-09-06T11:40:09.2167067+04:00","CREATED_BY":"sample string 7","IS_ACTIVE":true,"ATTACHMENT_PATH":"sample string 9","EmployeesList":[{"MID":1,"EMPMST_NAME":"sample string 2"},{"MID":1,"EMPMST_NAME":"sample string 2"}],"DepartmentList":[{"MID":1,"EMPMST_DEPARTMENT":"sample string 2"},{"MID":1,"EMPMST_DEPARTMENT":"sample string 2"}],"DesignationList":[{"MID":1,"EMPMST_DESIGNATION":"sample string 2"},{"MID":1,"EMPMST_DESIGNATION":"sample string 2"}]}

application/xml, text/xml

Sample:
<SuntechAnnouncement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.Communicators">
  <ATTACHMENT_PATH>sample string 9</ATTACHMENT_PATH>
  <CREATED_BY>sample string 7</CREATED_BY>
  <DepartmentList>
    <SuntechAnnouncementDepartment>
      <EMPMST_DEPARTMENT>sample string 2</EMPMST_DEPARTMENT>
      <MID>1</MID>
    </SuntechAnnouncementDepartment>
    <SuntechAnnouncementDepartment>
      <EMPMST_DEPARTMENT>sample string 2</EMPMST_DEPARTMENT>
      <MID>1</MID>
    </SuntechAnnouncementDepartment>
  </DepartmentList>
  <DesignationList>
    <SuntechAnnouncementDesignation>
      <EMPMST_DESIGNATION>sample string 2</EMPMST_DESIGNATION>
      <MID>1</MID>
    </SuntechAnnouncementDesignation>
    <SuntechAnnouncementDesignation>
      <EMPMST_DESIGNATION>sample string 2</EMPMST_DESIGNATION>
      <MID>1</MID>
    </SuntechAnnouncementDesignation>
  </DesignationList>
  <EMPMST_LOCATION>sample string 4</EMPMST_LOCATION>
  <EmployeesList>
    <SuntechAnnouncementEmployees>
      <EMPMST_NAME>sample string 2</EMPMST_NAME>
      <MID>1</MID>
    </SuntechAnnouncementEmployees>
    <SuntechAnnouncementEmployees>
      <EMPMST_NAME>sample string 2</EMPMST_NAME>
      <MID>1</MID>
    </SuntechAnnouncementEmployees>
  </EmployeesList>
  <FROMDATE>2026-09-06T11:40:09.2167067+04:00</FROMDATE>
  <IS_ACTIVE>true</IS_ACTIVE>
  <MESSAGE>sample string 3</MESSAGE>
  <MID>1</MID>
  <TITLE>sample string 2</TITLE>
  <TODATE>2026-09-06T11:40:09.2167067+04:00</TODATE>
</SuntechAnnouncement>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TITLE"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MESSAGE"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="EMPMST_LOCATION"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FROMDATE"

2026-09-06T11:40:09.2167067+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TODATE"

2026-09-06T11:40:09.2167067+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CREATED_BY"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IS_ACTIVE"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ATTACHMENT_PATH"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="EmployeesList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="EmployeesList[0].EMPMST_NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="EmployeesList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="EmployeesList[1].EMPMST_NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DepartmentList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DepartmentList[0].EMPMST_DEPARTMENT"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DepartmentList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DepartmentList[1].EMPMST_DEPARTMENT"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DesignationList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DesignationList[0].EMPMST_DESIGNATION"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DesignationList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DesignationList[1].EMPMST_DESIGNATION"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

SuntechAnnouncementListApiResult
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

response

Collection of SuntechAnnouncement

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "response": [
    {
      "MID": 1,
      "TITLE": "sample string 2",
      "MESSAGE": "sample string 3",
      "EMPMST_LOCATION": "sample string 4",
      "FROMDATE": "2026-09-06T11:40:09.2167067+04:00",
      "TODATE": "2026-09-06T11:40:09.2167067+04:00",
      "CREATED_BY": "sample string 7",
      "IS_ACTIVE": true,
      "ATTACHMENT_PATH": "sample string 9",
      "EmployeesList": [
        {
          "MID": 1,
          "EMPMST_NAME": "sample string 2"
        },
        {
          "MID": 1,
          "EMPMST_NAME": "sample string 2"
        }
      ],
      "DepartmentList": [
        {
          "MID": 1,
          "EMPMST_DEPARTMENT": "sample string 2"
        },
        {
          "MID": 1,
          "EMPMST_DEPARTMENT": "sample string 2"
        }
      ],
      "DesignationList": [
        {
          "MID": 1,
          "EMPMST_DESIGNATION": "sample string 2"
        },
        {
          "MID": 1,
          "EMPMST_DESIGNATION": "sample string 2"
        }
      ]
    },
    {
      "MID": 1,
      "TITLE": "sample string 2",
      "MESSAGE": "sample string 3",
      "EMPMST_LOCATION": "sample string 4",
      "FROMDATE": "2026-09-06T11:40:09.2167067+04:00",
      "TODATE": "2026-09-06T11:40:09.2167067+04:00",
      "CREATED_BY": "sample string 7",
      "IS_ACTIVE": true,
      "ATTACHMENT_PATH": "sample string 9",
      "EmployeesList": [
        {
          "MID": 1,
          "EMPMST_NAME": "sample string 2"
        },
        {
          "MID": 1,
          "EMPMST_NAME": "sample string 2"
        }
      ],
      "DepartmentList": [
        {
          "MID": 1,
          "EMPMST_DEPARTMENT": "sample string 2"
        },
        {
          "MID": 1,
          "EMPMST_DEPARTMENT": "sample string 2"
        }
      ],
      "DesignationList": [
        {
          "MID": 1,
          "EMPMST_DESIGNATION": "sample string 2"
        },
        {
          "MID": 1,
          "EMPMST_DESIGNATION": "sample string 2"
        }
      ]
    }
  ]
}

text/html

Sample:
{"status":"sample string 1","message":"sample string 2","response":[{"MID":1,"TITLE":"sample string 2","MESSAGE":"sample string 3","EMPMST_LOCATION":"sample string 4","FROMDATE":"2026-09-06T11:40:09.2167067+04:00","TODATE":"2026-09-06T11:40:09.2167067+04:00","CREATED_BY":"sample string 7","IS_ACTIVE":true,"ATTACHMENT_PATH":"sample string 9","EmployeesList":[{"MID":1,"EMPMST_NAME":"sample string 2"},{"MID":1,"EMPMST_NAME":"sample string 2"}],"DepartmentList":[{"MID":1,"EMPMST_DEPARTMENT":"sample string 2"},{"MID":1,"EMPMST_DEPARTMENT":"sample string 2"}],"DesignationList":[{"MID":1,"EMPMST_DESIGNATION":"sample string 2"},{"MID":1,"EMPMST_DESIGNATION":"sample string 2"}]},{"MID":1,"TITLE":"sample string 2","MESSAGE":"sample string 3","EMPMST_LOCATION":"sample string 4","FROMDATE":"2026-09-06T11:40:09.2167067+04:00","TODATE":"2026-09-06T11:40:09.2167067+04:00","CREATED_BY":"sample string 7","IS_ACTIVE":true,"ATTACHMENT_PATH":"sample string 9","EmployeesList":[{"MID":1,"EMPMST_NAME":"sample string 2"},{"MID":1,"EMPMST_NAME":"sample string 2"}],"DepartmentList":[{"MID":1,"EMPMST_DEPARTMENT":"sample string 2"},{"MID":1,"EMPMST_DEPARTMENT":"sample string 2"}],"DesignationList":[{"MID":1,"EMPMST_DESIGNATION":"sample string 2"},{"MID":1,"EMPMST_DESIGNATION":"sample string 2"}]}]}

application/xml, text/xml

Sample:
<SuntechAnnouncementListApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.Communicators">
  <message>sample string 2</message>
  <response>
    <SuntechAnnouncement>
      <ATTACHMENT_PATH>sample string 9</ATTACHMENT_PATH>
      <CREATED_BY>sample string 7</CREATED_BY>
      <DepartmentList>
        <SuntechAnnouncementDepartment>
          <EMPMST_DEPARTMENT>sample string 2</EMPMST_DEPARTMENT>
          <MID>1</MID>
        </SuntechAnnouncementDepartment>
        <SuntechAnnouncementDepartment>
          <EMPMST_DEPARTMENT>sample string 2</EMPMST_DEPARTMENT>
          <MID>1</MID>
        </SuntechAnnouncementDepartment>
      </DepartmentList>
      <DesignationList>
        <SuntechAnnouncementDesignation>
          <EMPMST_DESIGNATION>sample string 2</EMPMST_DESIGNATION>
          <MID>1</MID>
        </SuntechAnnouncementDesignation>
        <SuntechAnnouncementDesignation>
          <EMPMST_DESIGNATION>sample string 2</EMPMST_DESIGNATION>
          <MID>1</MID>
        </SuntechAnnouncementDesignation>
      </DesignationList>
      <EMPMST_LOCATION>sample string 4</EMPMST_LOCATION>
      <EmployeesList>
        <SuntechAnnouncementEmployees>
          <EMPMST_NAME>sample string 2</EMPMST_NAME>
          <MID>1</MID>
        </SuntechAnnouncementEmployees>
        <SuntechAnnouncementEmployees>
          <EMPMST_NAME>sample string 2</EMPMST_NAME>
          <MID>1</MID>
        </SuntechAnnouncementEmployees>
      </EmployeesList>
      <FROMDATE>2026-09-06T11:40:09.2167067+04:00</FROMDATE>
      <IS_ACTIVE>true</IS_ACTIVE>
      <MESSAGE>sample string 3</MESSAGE>
      <MID>1</MID>
      <TITLE>sample string 2</TITLE>
      <TODATE>2026-09-06T11:40:09.2167067+04:00</TODATE>
    </SuntechAnnouncement>
    <SuntechAnnouncement>
      <ATTACHMENT_PATH>sample string 9</ATTACHMENT_PATH>
      <CREATED_BY>sample string 7</CREATED_BY>
      <DepartmentList>
        <SuntechAnnouncementDepartment>
          <EMPMST_DEPARTMENT>sample string 2</EMPMST_DEPARTMENT>
          <MID>1</MID>
        </SuntechAnnouncementDepartment>
        <SuntechAnnouncementDepartment>
          <EMPMST_DEPARTMENT>sample string 2</EMPMST_DEPARTMENT>
          <MID>1</MID>
        </SuntechAnnouncementDepartment>
      </DepartmentList>
      <DesignationList>
        <SuntechAnnouncementDesignation>
          <EMPMST_DESIGNATION>sample string 2</EMPMST_DESIGNATION>
          <MID>1</MID>
        </SuntechAnnouncementDesignation>
        <SuntechAnnouncementDesignation>
          <EMPMST_DESIGNATION>sample string 2</EMPMST_DESIGNATION>
          <MID>1</MID>
        </SuntechAnnouncementDesignation>
      </DesignationList>
      <EMPMST_LOCATION>sample string 4</EMPMST_LOCATION>
      <EmployeesList>
        <SuntechAnnouncementEmployees>
          <EMPMST_NAME>sample string 2</EMPMST_NAME>
          <MID>1</MID>
        </SuntechAnnouncementEmployees>
        <SuntechAnnouncementEmployees>
          <EMPMST_NAME>sample string 2</EMPMST_NAME>
          <MID>1</MID>
        </SuntechAnnouncementEmployees>
      </EmployeesList>
      <FROMDATE>2026-09-06T11:40:09.2167067+04:00</FROMDATE>
      <IS_ACTIVE>true</IS_ACTIVE>
      <MESSAGE>sample string 3</MESSAGE>
      <MID>1</MID>
      <TITLE>sample string 2</TITLE>
      <TODATE>2026-09-06T11:40:09.2167067+04:00</TODATE>
    </SuntechAnnouncement>
  </response>
  <status>sample string 1</status>
</SuntechAnnouncementListApiResult>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="status"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="message"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].TITLE"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].MESSAGE"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].EMPMST_LOCATION"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].FROMDATE"

2026-09-06T11:40:09.2167067+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].TODATE"

2026-09-06T11:40:09.2167067+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].CREATED_BY"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].IS_ACTIVE"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].ATTACHMENT_PATH"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].EmployeesList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].EmployeesList[0].EMPMST_NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].EmployeesList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].EmployeesList[1].EMPMST_NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].DepartmentList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].DepartmentList[0].EMPMST_DEPARTMENT"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].DepartmentList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].DepartmentList[1].EMPMST_DEPARTMENT"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].DesignationList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].DesignationList[0].EMPMST_DESIGNATION"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].DesignationList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[0].DesignationList[1].EMPMST_DESIGNATION"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].TITLE"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].MESSAGE"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].EMPMST_LOCATION"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].FROMDATE"

2026-09-06T11:40:09.2167067+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].TODATE"

2026-09-06T11:40:09.2167067+04:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].CREATED_BY"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].IS_ACTIVE"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].ATTACHMENT_PATH"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].EmployeesList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].EmployeesList[0].EMPMST_NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].EmployeesList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].EmployeesList[1].EMPMST_NAME"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].DepartmentList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].DepartmentList[0].EMPMST_DEPARTMENT"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].DepartmentList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].DepartmentList[1].EMPMST_DEPARTMENT"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].DesignationList[0].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].DesignationList[0].EMPMST_DESIGNATION"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].DesignationList[1].MID"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="response[1].DesignationList[1].EMPMST_DESIGNATION"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--