POST api/actions/AddDream

Request Information

URI Parameters

None.

Body Parameters

DreamBinding
NameDescriptionTypeAdditional information
Amount

decimal number

None.

Method

string

None.

Currency

string

None.

Description

string

None.

PhoneNumber

string

None.

ServicePathId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.1,
  "Method": "sample string 2",
  "Currency": "sample string 3",
  "Description": "sample string 4",
  "PhoneNumber": "sample string 5",
  "ServicePathId": 6
}

application/xml, text/xml

Sample:
<DreamBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ahlam.Bindings">
  <Amount>1.1</Amount>
  <Currency>sample string 3</Currency>
  <Description>sample string 4</Description>
  <Method>sample string 2</Method>
  <PhoneNumber>sample string 5</PhoneNumber>
  <ServicePathId>6</ServicePathId>
</DreamBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dream
NameDescriptionTypeAdditional information
Status

string

None.

Description

string

None.

ServiceProviderId

string

None.

ServiceProvider

ApplicationUser

None.

ServicePathId

integer

None.

ServicePath

ServicePath

None.

Explanation

string

None.

ExplanationDate

date

None.

PhoneNumber

string

None.

PaymentId

integer

None.

Payment

Payment

None.

Explanations

Collection of DreamExplanation

None.

id

integer

None.

CreationDate

date

None.

LastModificationDate

date

None.

Creator

ApplicationUser

None.

CreatorId

string

None.

Modifier

ApplicationUser

None.

ModifierId

string

None.

AttachmentId

integer

None.

CreatorName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Description": "sample string 2",
  "ServiceProviderId": "sample string 3",
  "ServiceProvider": {
    "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
    "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
    "Name": "sample string 3",
    "Type": "sample string 4",
    "Status": "sample string 5",
    "PictureId": "sample string 6",
    "password": "sample string 7",
    "Email": "sample string 8",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 10",
    "SecurityStamp": "sample string 11",
    "PhoneNumber": "sample string 12",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 16,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 17",
    "UserName": "sample string 18"
  },
  "ServicePathId": 4,
  "ServicePath": {
    "NumberOfInterpreters": 1,
    "Price": 2.1,
    "Enabled": true,
    "id": 4,
    "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
    "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
    "Creator": {
      "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
      "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
      "Name": "sample string 3",
      "Type": "sample string 4",
      "Status": "sample string 5",
      "PictureId": "sample string 6",
      "password": "sample string 7",
      "Email": "sample string 8",
      "EmailConfirmed": true,
      "PasswordHash": "sample string 10",
      "SecurityStamp": "sample string 11",
      "PhoneNumber": "sample string 12",
      "PhoneNumberConfirmed": true,
      "TwoFactorEnabled": true,
      "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
      "LockoutEnabled": true,
      "AccessFailedCount": 16,
      "Roles": [],
      "Claims": [],
      "Logins": [],
      "Id": "sample string 17",
      "UserName": "sample string 18"
    },
    "CreatorId": "sample string 7",
    "Modifier": {
      "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
      "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
      "Name": "sample string 3",
      "Type": "sample string 4",
      "Status": "sample string 5",
      "PictureId": "sample string 6",
      "password": "sample string 7",
      "Email": "sample string 8",
      "EmailConfirmed": true,
      "PasswordHash": "sample string 10",
      "SecurityStamp": "sample string 11",
      "PhoneNumber": "sample string 12",
      "PhoneNumberConfirmed": true,
      "TwoFactorEnabled": true,
      "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
      "LockoutEnabled": true,
      "AccessFailedCount": 16,
      "Roles": [],
      "Claims": [],
      "Logins": [],
      "Id": "sample string 17",
      "UserName": "sample string 18"
    },
    "ModifierId": "sample string 8",
    "AttachmentId": 9,
    "CreatorName": "sample string 10"
  },
  "Explanation": "sample string 5",
  "ExplanationDate": "2024-11-21T02:04:37.3238719-08:00",
  "PhoneNumber": "sample string 6",
  "PaymentId": 7,
  "Payment": {
    "Amount": 1.1,
    "Method": "sample string 2",
    "Currency": "sample string 3",
    "Status": "sample string 4",
    "id": 5,
    "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
    "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
    "Creator": {
      "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
      "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
      "Name": "sample string 3",
      "Type": "sample string 4",
      "Status": "sample string 5",
      "PictureId": "sample string 6",
      "password": "sample string 7",
      "Email": "sample string 8",
      "EmailConfirmed": true,
      "PasswordHash": "sample string 10",
      "SecurityStamp": "sample string 11",
      "PhoneNumber": "sample string 12",
      "PhoneNumberConfirmed": true,
      "TwoFactorEnabled": true,
      "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
      "LockoutEnabled": true,
      "AccessFailedCount": 16,
      "Roles": [],
      "Claims": [],
      "Logins": [],
      "Id": "sample string 17",
      "UserName": "sample string 18"
    },
    "CreatorId": "sample string 8",
    "Modifier": {
      "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
      "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
      "Name": "sample string 3",
      "Type": "sample string 4",
      "Status": "sample string 5",
      "PictureId": "sample string 6",
      "password": "sample string 7",
      "Email": "sample string 8",
      "EmailConfirmed": true,
      "PasswordHash": "sample string 10",
      "SecurityStamp": "sample string 11",
      "PhoneNumber": "sample string 12",
      "PhoneNumberConfirmed": true,
      "TwoFactorEnabled": true,
      "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
      "LockoutEnabled": true,
      "AccessFailedCount": 16,
      "Roles": [],
      "Claims": [],
      "Logins": [],
      "Id": "sample string 17",
      "UserName": "sample string 18"
    },
    "ModifierId": "sample string 9",
    "AttachmentId": 10,
    "CreatorName": "sample string 11"
  },
  "Explanations": [
    {
      "Explanation": "sample string 1",
      "DreamId": 2,
      "Interpreter": {
        "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
        "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
        "Name": "sample string 3",
        "Type": "sample string 4",
        "Status": "sample string 5",
        "PictureId": "sample string 6",
        "password": "sample string 7",
        "Email": "sample string 8",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 10",
        "SecurityStamp": "sample string 11",
        "PhoneNumber": "sample string 12",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
        "LockoutEnabled": true,
        "AccessFailedCount": 16,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 17",
        "UserName": "sample string 18"
      },
      "InterpreterId": "sample string 3",
      "Status": "sample string 4",
      "ExplanationDate": "2024-11-21T02:04:37.3238719-08:00",
      "id": 6,
      "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
      "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
      "Creator": {
        "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
        "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
        "Name": "sample string 3",
        "Type": "sample string 4",
        "Status": "sample string 5",
        "PictureId": "sample string 6",
        "password": "sample string 7",
        "Email": "sample string 8",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 10",
        "SecurityStamp": "sample string 11",
        "PhoneNumber": "sample string 12",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
        "LockoutEnabled": true,
        "AccessFailedCount": 16,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 17",
        "UserName": "sample string 18"
      },
      "CreatorId": "sample string 9",
      "Modifier": {
        "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
        "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
        "Name": "sample string 3",
        "Type": "sample string 4",
        "Status": "sample string 5",
        "PictureId": "sample string 6",
        "password": "sample string 7",
        "Email": "sample string 8",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 10",
        "SecurityStamp": "sample string 11",
        "PhoneNumber": "sample string 12",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
        "LockoutEnabled": true,
        "AccessFailedCount": 16,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 17",
        "UserName": "sample string 18"
      },
      "ModifierId": "sample string 10",
      "AttachmentId": 11,
      "CreatorName": "sample string 12"
    },
    {
      "Explanation": "sample string 1",
      "DreamId": 2,
      "Interpreter": {
        "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
        "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
        "Name": "sample string 3",
        "Type": "sample string 4",
        "Status": "sample string 5",
        "PictureId": "sample string 6",
        "password": "sample string 7",
        "Email": "sample string 8",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 10",
        "SecurityStamp": "sample string 11",
        "PhoneNumber": "sample string 12",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
        "LockoutEnabled": true,
        "AccessFailedCount": 16,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 17",
        "UserName": "sample string 18"
      },
      "InterpreterId": "sample string 3",
      "Status": "sample string 4",
      "ExplanationDate": "2024-11-21T02:04:37.3238719-08:00",
      "id": 6,
      "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
      "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
      "Creator": {
        "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
        "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
        "Name": "sample string 3",
        "Type": "sample string 4",
        "Status": "sample string 5",
        "PictureId": "sample string 6",
        "password": "sample string 7",
        "Email": "sample string 8",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 10",
        "SecurityStamp": "sample string 11",
        "PhoneNumber": "sample string 12",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
        "LockoutEnabled": true,
        "AccessFailedCount": 16,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 17",
        "UserName": "sample string 18"
      },
      "CreatorId": "sample string 9",
      "Modifier": {
        "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
        "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
        "Name": "sample string 3",
        "Type": "sample string 4",
        "Status": "sample string 5",
        "PictureId": "sample string 6",
        "password": "sample string 7",
        "Email": "sample string 8",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 10",
        "SecurityStamp": "sample string 11",
        "PhoneNumber": "sample string 12",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
        "LockoutEnabled": true,
        "AccessFailedCount": 16,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 17",
        "UserName": "sample string 18"
      },
      "ModifierId": "sample string 10",
      "AttachmentId": 11,
      "CreatorName": "sample string 12"
    }
  ],
  "id": 8,
  "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
  "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
  "Creator": {
    "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
    "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
    "Name": "sample string 3",
    "Type": "sample string 4",
    "Status": "sample string 5",
    "PictureId": "sample string 6",
    "password": "sample string 7",
    "Email": "sample string 8",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 10",
    "SecurityStamp": "sample string 11",
    "PhoneNumber": "sample string 12",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 16,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 17",
    "UserName": "sample string 18"
  },
  "CreatorId": "sample string 11",
  "Modifier": {
    "CreationDate": "2024-11-21T02:04:37.3238719-08:00",
    "LastModificationDate": "2024-11-21T02:04:37.3238719-08:00",
    "Name": "sample string 3",
    "Type": "sample string 4",
    "Status": "sample string 5",
    "PictureId": "sample string 6",
    "password": "sample string 7",
    "Email": "sample string 8",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 10",
    "SecurityStamp": "sample string 11",
    "PhoneNumber": "sample string 12",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2024-11-21T02:04:37.3238719-08:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 16,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 17",
    "UserName": "sample string 18"
  },
  "ModifierId": "sample string 12",
  "AttachmentId": 13,
  "CreatorName": "sample string 14"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.