POST api/Orders/New

Request Information

URI Parameters

None.

Body Parameters

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "c4536307-0589-4681-8dda-600d6bc6feb9",
  "8679ce82-7193-44f4-a64e-602903cc20d3"
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of OrderTo3PDTO
NameDescriptionTypeAdditional information
LocationGuids

Collection of globally unique identifier

None.

OrderPosts

Collection of OrderPostDTO

None.

LotID

globally unique identifier

None.

CreatedOn

date

None.

Status

OrderStatus

None.

TotalOrderAmount

decimal number

None.

OrderDate

date

None.

DeadlineDate

date

None.

CreatorID

string

None.

Id

globally unique identifier

None.

Description

string

None.

CrmId

integer

None.

IsArchived

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LocationGuids": [
      "9d207ebe-6f6c-412a-aaa7-3c7cf01e5d01",
      "7bf1c108-ac2a-4f5f-baf7-1b2e9a668d0b"
    ],
    "OrderPosts": [
      {
        "Quantity": 1.0,
        "PostID": "b2d77959-45e9-4837-b2d9-5b1e2082d36f",
        "Id": "b3af521c-4e86-40a5-9b6f-663ce3a9d140",
        "Description": "sample string 4",
        "CrmId": 5,
        "IsArchived": true
      },
      {
        "Quantity": 1.0,
        "PostID": "b2d77959-45e9-4837-b2d9-5b1e2082d36f",
        "Id": "b3af521c-4e86-40a5-9b6f-663ce3a9d140",
        "Description": "sample string 4",
        "CrmId": 5,
        "IsArchived": true
      }
    ],
    "LotID": "3b557a3c-9b41-4843-acca-1d659b995947",
    "CreatedOn": "2017-10-16T23:42:43.7511596+00:00",
    "Status": 0,
    "TotalOrderAmount": 3.0,
    "OrderDate": "2017-10-16T23:42:43.7511596+00:00",
    "DeadlineDate": "2017-10-16T23:42:43.7511596+00:00",
    "CreatorID": "sample string 4",
    "Id": "37136eb8-74d1-477d-bcf6-756c62665360",
    "Description": "sample string 6",
    "CrmId": 7,
    "IsArchived": true
  },
  {
    "LocationGuids": [
      "9d207ebe-6f6c-412a-aaa7-3c7cf01e5d01",
      "7bf1c108-ac2a-4f5f-baf7-1b2e9a668d0b"
    ],
    "OrderPosts": [
      {
        "Quantity": 1.0,
        "PostID": "b2d77959-45e9-4837-b2d9-5b1e2082d36f",
        "Id": "b3af521c-4e86-40a5-9b6f-663ce3a9d140",
        "Description": "sample string 4",
        "CrmId": 5,
        "IsArchived": true
      },
      {
        "Quantity": 1.0,
        "PostID": "b2d77959-45e9-4837-b2d9-5b1e2082d36f",
        "Id": "b3af521c-4e86-40a5-9b6f-663ce3a9d140",
        "Description": "sample string 4",
        "CrmId": 5,
        "IsArchived": true
      }
    ],
    "LotID": "3b557a3c-9b41-4843-acca-1d659b995947",
    "CreatedOn": "2017-10-16T23:42:43.7511596+00:00",
    "Status": 0,
    "TotalOrderAmount": 3.0,
    "OrderDate": "2017-10-16T23:42:43.7511596+00:00",
    "DeadlineDate": "2017-10-16T23:42:43.7511596+00:00",
    "CreatorID": "sample string 4",
    "Id": "37136eb8-74d1-477d-bcf6-756c62665360",
    "Description": "sample string 6",
    "CrmId": 7,
    "IsArchived": true
  }
]