POST api/OuterGateClientOrder/CreateClientOrder
Request Information
URI Parameters
None.
Body Parameters
OuterOrderClientModelIn| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | integer |
Range: inclusive between 1 and 2147483647 |
|
| Films | Collection of OuterFilmModelIn |
None. |
|
| DeliveryDate | date |
Required |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientId": 1,
"DeliveryDate": "2026-04-17T15:37:39.2752987+02:00",
"Note": "sample string 3",
"Films": [
{
"TypeOfMaterialId": 1,
"TypeOfProcessingId": 2,
"TypeOfEyeletsId": 3,
"TypeOfHolesId": 4,
"FilmWidthId": 5,
"FilmLength": 6.1,
"NumberFilms": 7,
"Parcel": "sample string 8",
"ParcelNote": "sample string 9",
"Decentration": 1.1,
"DeliveryDate": "2026-04-17T15:37:39.2752987+02:00",
"Note": "sample string 10"
},
{
"TypeOfMaterialId": 1,
"TypeOfProcessingId": 2,
"TypeOfEyeletsId": 3,
"TypeOfHolesId": 4,
"FilmWidthId": 5,
"FilmLength": 6.1,
"NumberFilms": 7,
"Parcel": "sample string 8",
"ParcelNote": "sample string 9",
"Decentration": 1.1,
"DeliveryDate": "2026-04-17T15:37:39.2752987+02:00",
"Note": "sample string 10"
}
]
}
application/xml, text/xml
Sample:
<OuterOrderClientModelIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.CodePlast.CommonModels.Models.ClientOrder">
<DeliveryDate>2026-04-17T15:37:39.2752987+02:00</DeliveryDate>
<Note>sample string 3</Note>
<ClientId>1</ClientId>
<Films xmlns:d2p1="http://schemas.datacontract.org/2004/07/tocode.CodePlast.CommonModels.Models.Film">
<d2p1:OuterFilmModelIn>
<d2p1:Decentration>1.1</d2p1:Decentration>
<d2p1:DeliveryDate>2026-04-17T15:37:39.2752987+02:00</d2p1:DeliveryDate>
<d2p1:FilmLength>6.1</d2p1:FilmLength>
<d2p1:FilmWidthId>5</d2p1:FilmWidthId>
<d2p1:Note>sample string 10</d2p1:Note>
<d2p1:NumberFilms>7</d2p1:NumberFilms>
<d2p1:Parcel>sample string 8</d2p1:Parcel>
<d2p1:ParcelNote>sample string 9</d2p1:ParcelNote>
<d2p1:TypeOfEyeletsId>3</d2p1:TypeOfEyeletsId>
<d2p1:TypeOfHolesId>4</d2p1:TypeOfHolesId>
<d2p1:TypeOfMaterialId>1</d2p1:TypeOfMaterialId>
<d2p1:TypeOfProcessingId>2</d2p1:TypeOfProcessingId>
</d2p1:OuterFilmModelIn>
<d2p1:OuterFilmModelIn>
<d2p1:Decentration>1.1</d2p1:Decentration>
<d2p1:DeliveryDate>2026-04-17T15:37:39.2752987+02:00</d2p1:DeliveryDate>
<d2p1:FilmLength>6.1</d2p1:FilmLength>
<d2p1:FilmWidthId>5</d2p1:FilmWidthId>
<d2p1:Note>sample string 10</d2p1:Note>
<d2p1:NumberFilms>7</d2p1:NumberFilms>
<d2p1:Parcel>sample string 8</d2p1:Parcel>
<d2p1:ParcelNote>sample string 9</d2p1:ParcelNote>
<d2p1:TypeOfEyeletsId>3</d2p1:TypeOfEyeletsId>
<d2p1:TypeOfHolesId>4</d2p1:TypeOfHolesId>
<d2p1:TypeOfMaterialId>1</d2p1:TypeOfMaterialId>
<d2p1:TypeOfProcessingId>2</d2p1:TypeOfProcessingId>
</d2p1:OuterFilmModelIn>
</Films>
</OuterOrderClientModelIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OutComeBaseModelOut| Name | Description | Type | Additional information |
|---|---|---|---|
| NewIdentifier | integer |
None. |
|
| Warning | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"NewIdentifier": 1,
"Warning": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<OutComeBaseModelOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.CodePlast.CommonModels.Models"> <Message>sample string 2</Message> <NewIdentifier>1</NewIdentifier> <Warning>true</Warning> </OutComeBaseModelOut>