POST api/edilhole/v1/Push/send

Request Information

URI Parameters

None.

Body Parameters

PushDTO
NameDescriptionTypeAdditional information
id

integer

None.

id_from

integer

None.

id_to_send

integer

None.

message

string

None.

create_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "id_from": 1,
  "id_to_send": 1,
  "message": "sample string 2",
  "create_date": "2021-10-26 17:38:12"
}

application/xml, text/xml

Sample:
<PushDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EdilHole.DTO.Push">
  <create_date>2021-10-26T17:38:12.8219567+02:00</create_date>
  <id>1</id>
  <id_from>1</id_from>
  <id_to_send>1</id_to_send>
  <message>sample string 2</message>
</PushDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDTOOfObject
NameDescriptionTypeAdditional information
Status

StatusDTO

None.

Payload

Object

None.

Errors

Collection of ErrorDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": {
    "Code": "sample string 1",
    "Description": "sample string 2"
  },
  "Payload": {},
  "Errors": null
}

application/xml, text/xml

Sample:
<ResponseDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EdilHole.DTO">
  <Errors i:nil="true" />
  <Payload />
  <Status>
    <Code>sample string 1</Code>
    <Description>sample string 2</Description>
  </Status>
</ResponseDTOOfanyType>