POST api/ImpMesge/add_new_messages
Request Information
URI Parameters
None.
Body Parameters
ImpmessagesModel0Name | Description | Type | Additional information |
---|---|---|---|
idguid | string |
None. |
|
parentguid | string |
None. |
|
objectguid | string |
None. |
|
number | integer |
None. |
|
code | string |
None. |
|
frommessage | string |
None. |
|
tomessage | string |
None. |
|
messagetopic | string |
None. |
|
messagetext | string |
None. |
|
type | string |
None. |
|
typeguid | string |
None. |
|
messagedate | date |
None. |
|
expiredate | date |
None. |
|
inserted_by | string |
None. |
|
inserted_on | date |
None. |
|
last_updated_by | string |
None. |
|
last_updated_on | date |
None. |
|
message_doc_list | MessagedocsModel0 |
None. |
Request Formats
application/json, text/json
Sample:
{ "idguid": "sample string 1", "parentguid": "sample string 2", "objectguid": "sample string 3", "number": 4, "code": "sample string 5", "frommessage": "sample string 6", "tomessage": "sample string 7", "messagetopic": "sample string 8", "messagetext": "sample string 9", "type": "sample string 10", "typeguid": "sample string 11", "messagedate": "2025-04-04T06:54:12.6021329+03:00", "expiredate": "2025-04-04T06:54:12.6021329+03:00", "inserted_by": "sample string 14", "inserted_on": "2025-04-04T06:54:12.6031295+03:00", "last_updated_by": "sample string 16", "last_updated_on": "2025-04-04T06:54:12.6031295+03:00", "message_doc_list": { "idguid": "sample string 1", "messageguid": "sample string 2", "number": 3, "describe": "sample string 4", "satedocfile": "sample string 5", "filename": "sample string 6", "remarks": "sample string 7", "inserted_by": "sample string 8", "inserted_on": "2025-04-04T06:54:12.6031295+03:00", "last_updated_by": "sample string 10", "doc_extention": "sample string 11", "last_updated_on": "2025-04-04T06:54:12.6031295+03:00" } }
application/xml, text/xml
Sample:
<ImpmessagesModel0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YsmoWebApis.Models"> <code>sample string 5</code> <expiredate>2025-04-04T06:54:12.6021329+03:00</expiredate> <frommessage>sample string 6</frommessage> <idguid>sample string 1</idguid> <inserted_by>sample string 14</inserted_by> <inserted_on>2025-04-04T06:54:12.6031295+03:00</inserted_on> <last_updated_by>sample string 16</last_updated_by> <last_updated_on>2025-04-04T06:54:12.6031295+03:00</last_updated_on> <message_doc_list> <describe>sample string 4</describe> <doc_extention>sample string 11</doc_extention> <filename>sample string 6</filename> <idguid>sample string 1</idguid> <inserted_by>sample string 8</inserted_by> <inserted_on>2025-04-04T06:54:12.6031295+03:00</inserted_on> <last_updated_by>sample string 10</last_updated_by> <last_updated_on>2025-04-04T06:54:12.6031295+03:00</last_updated_on> <messageguid>sample string 2</messageguid> <number>3</number> <remarks>sample string 7</remarks> <satedocfile>sample string 5</satedocfile> </message_doc_list> <messagedate>2025-04-04T06:54:12.6021329+03:00</messagedate> <messagetext>sample string 9</messagetext> <messagetopic>sample string 8</messagetopic> <number>4</number> <objectguid>sample string 3</objectguid> <parentguid>sample string 2</parentguid> <tomessage>sample string 7</tomessage> <type>sample string 10</type> <typeguid>sample string 11</typeguid> </ImpmessagesModel0>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.