POST api/Message/AddMessageFromAmodit

Dodanie wiadomości z Amodid

Request Information

URI Parameters

None.

Body Parameters

MessageAddAmodit
NazwaOpisTypInformacje dodatkowe
InResponseTo

Identyfikator wiadomości do której jest odpowiedź

string

None.

ReceiverId

Identyfikator odbiorcy

string

Required

BeneficiaryId

Identyfikator podopiecznego

string

Required

Title

Tytuł wiadomości

string

Required

MessageBody

Treść wiadomości

string

Required

AmoditId

Identyfikator wiadomości w systemie Amodit

string

Required

Category

Kategoria wiadomości

string

Required

Type

Typ wiadomości

string

Required

SubType

Podtyp wiadomości

string

Required

SenderName

Nazwa sendera z Amodit

string

None.

SenderAddress

adres sendera z Amodit

string

None.

Attachments

Lista załączników

Collection of MessageAttachmentAdd

None.

Request Formats

application/json, text/json

Sample:
{
  "InResponseTo": "sample string 1",
  "ReceiverId": "sample string 2",
  "BeneficiaryId": "sample string 3",
  "Title": "sample string 4",
  "MessageBody": "sample string 5",
  "AmoditId": "sample string 6",
  "Category": "sample string 7",
  "Type": "sample string 8",
  "SubType": "sample string 9",
  "SenderName": "sample string 10",
  "SenderAddress": "sample string 11",
  "Attachments": [
    {
      "Name": "sample string 1",
      "Extension": "sample string 2",
      "Binary": "sample string 3"
    },
    {
      "Name": "sample string 1",
      "Extension": "sample string 2",
      "Binary": "sample string 3"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.