POST api/sale/fulfillment/createedit
Request Information
URI Parameters
None.
Body Parameters
FulfillmentSaleProductOrderItemCreateEditView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IsCreate | boolean |
None. |
|
| FulfillmentProcessId | integer |
None. |
|
| BoardStageId | integer |
None. |
|
| SaleProductOrderItemId | integer |
None. |
|
| SaleProductOrderDetailItem | SaleProductOrderDetailItemListItemView |
None. |
|
| ProductId | integer |
None. |
|
| CustomFieldDatas | Collection of CoreCustomFieldDataCreateEditView |
None. |
|
| ThisViewModelName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IsCreate": true,
"FulfillmentProcessId": 3,
"BoardStageId": 4,
"SaleProductOrderItemId": 5,
"SaleProductOrderDetailItem": {
"Id": 1,
"ProductName": "sample string 2",
"ProductVariationName": "sample string 3",
"Price": 4.0,
"TotalPrice": 5.0,
"VatRateValue": 6.0,
"Image": {
"Id": 1,
"Title": "sample string 2",
"FilePath": "sample string 3",
"Token": "sample string 4",
"FileDomain": "sample string 5",
"Order": 6,
"Style": 0,
"FileExtension": "sample string 7",
"FileType": 0,
"IsExternalUrl": true,
"IsExternalCode": true,
"ExternalCode": "sample string 10",
"Description": "sample string 11"
},
"Quantity": 7.0,
"FulfillmentId": 1,
"FulfillmentBoardName": "sample string 8",
"FulfillmentBoardStageName": "sample string 9",
"HasFulfillmentProcess": true
},
"ProductId": 6,
"CustomFieldDatas": [
{
"Field": {
"FieldId": 1,
"FieldDataTypeId": 2,
"DataType": 0,
"Title": "sample string 3",
"Value": {},
"Items": [
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
},
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
}
],
"IsUnique": true,
"IsRequired": true,
"GridSize": 64,
"CustomFieldDataId": 1,
"IsPrimaryKey": true,
"RelatedType": {
"Id": 1,
"Code": "sample string 2",
"ParentCode": "sample string 3",
"Icon": "sample string 4",
"NameSingular": "sample string 5",
"NamePlural": "sample string 6",
"Route": "sample string 7",
"HasBoard": true,
"HasPeople": true,
"HasPeopleMultiple": true,
"HasCard": true
},
"SelectUrl": "sample string 9",
"SelectIsSearchable": true,
"DisplayableValue": "sample string 11"
},
"Group": {
"Id": 1,
"Title": "sample string 2"
},
"IsLabelMuted": true
},
{
"Field": {
"FieldId": 1,
"FieldDataTypeId": 2,
"DataType": 0,
"Title": "sample string 3",
"Value": {},
"Items": [
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
},
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
}
],
"IsUnique": true,
"IsRequired": true,
"GridSize": 64,
"CustomFieldDataId": 1,
"IsPrimaryKey": true,
"RelatedType": {
"Id": 1,
"Code": "sample string 2",
"ParentCode": "sample string 3",
"Icon": "sample string 4",
"NameSingular": "sample string 5",
"NamePlural": "sample string 6",
"Route": "sample string 7",
"HasBoard": true,
"HasPeople": true,
"HasPeopleMultiple": true,
"HasCard": true
},
"SelectUrl": "sample string 9",
"SelectIsSearchable": true,
"DisplayableValue": "sample string 11"
},
"Group": {
"Id": 1,
"Title": "sample string 2"
},
"IsLabelMuted": true
}
],
"ThisViewModelName": "sample string 7"
}
application/xml, text/xml
Sample:
<FulfillmentSaleProductOrderItemCreateEditView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.FulfillmentView">
<BoardStageId>4</BoardStageId>
<CustomFieldDatas xmlns:d2p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.CustomFieldView">
<d2p1:CoreCustomFieldDataCreateEditView>
<d2p1:Field xmlns:d4p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GeneralView">
<d4p1:CustomFieldDataId>1</d4p1:CustomFieldDataId>
<d4p1:DataType>None</d4p1:DataType>
<d4p1:DisplayableValue>sample string 11</d4p1:DisplayableValue>
<d4p1:FieldDataTypeId>2</d4p1:FieldDataTypeId>
<d4p1:FieldId>1</d4p1:FieldId>
<d4p1:GridSize>64</d4p1:GridSize>
<d4p1:IsPrimaryKey>true</d4p1:IsPrimaryKey>
<d4p1:IsRequired>true</d4p1:IsRequired>
<d4p1:IsUnique>true</d4p1:IsUnique>
<d4p1:Items>
<d4p1:FieldInputSelectListItemView>
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 3</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 4</Value>
</d4p1:FieldInputSelectListItemView>
<d4p1:FieldInputSelectListItemView>
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 3</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 4</Value>
</d4p1:FieldInputSelectListItemView>
</d4p1:Items>
<d4p1:RelatedType xmlns:d5p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.RelatedTypeView">
<d5p1:Code>sample string 2</d5p1:Code>
<d5p1:HasBoard>true</d5p1:HasBoard>
<d5p1:HasCard>true</d5p1:HasCard>
<d5p1:HasPeople>true</d5p1:HasPeople>
<d5p1:HasPeopleMultiple>true</d5p1:HasPeopleMultiple>
<d5p1:Icon>sample string 4</d5p1:Icon>
<d5p1:Id>1</d5p1:Id>
<d5p1:NamePlural>sample string 6</d5p1:NamePlural>
<d5p1:NameSingular>sample string 5</d5p1:NameSingular>
<d5p1:ParentCode>sample string 3</d5p1:ParentCode>
<d5p1:Route>sample string 7</d5p1:Route>
</d4p1:RelatedType>
<d4p1:SelectIsSearchable>true</d4p1:SelectIsSearchable>
<d4p1:SelectUrl>sample string 9</d4p1:SelectUrl>
<d4p1:Title>sample string 3</d4p1:Title>
<d4p1:Value />
</d2p1:Field>
<d2p1:Group>
<d2p1:Id>1</d2p1:Id>
<d2p1:Title>sample string 2</d2p1:Title>
</d2p1:Group>
<d2p1:IsLabelMuted>true</d2p1:IsLabelMuted>
</d2p1:CoreCustomFieldDataCreateEditView>
<d2p1:CoreCustomFieldDataCreateEditView>
<d2p1:Field xmlns:d4p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GeneralView">
<d4p1:CustomFieldDataId>1</d4p1:CustomFieldDataId>
<d4p1:DataType>None</d4p1:DataType>
<d4p1:DisplayableValue>sample string 11</d4p1:DisplayableValue>
<d4p1:FieldDataTypeId>2</d4p1:FieldDataTypeId>
<d4p1:FieldId>1</d4p1:FieldId>
<d4p1:GridSize>64</d4p1:GridSize>
<d4p1:IsPrimaryKey>true</d4p1:IsPrimaryKey>
<d4p1:IsRequired>true</d4p1:IsRequired>
<d4p1:IsUnique>true</d4p1:IsUnique>
<d4p1:Items>
<d4p1:FieldInputSelectListItemView>
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 3</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 4</Value>
</d4p1:FieldInputSelectListItemView>
<d4p1:FieldInputSelectListItemView>
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 3</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 4</Value>
</d4p1:FieldInputSelectListItemView>
</d4p1:Items>
<d4p1:RelatedType xmlns:d5p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.RelatedTypeView">
<d5p1:Code>sample string 2</d5p1:Code>
<d5p1:HasBoard>true</d5p1:HasBoard>
<d5p1:HasCard>true</d5p1:HasCard>
<d5p1:HasPeople>true</d5p1:HasPeople>
<d5p1:HasPeopleMultiple>true</d5p1:HasPeopleMultiple>
<d5p1:Icon>sample string 4</d5p1:Icon>
<d5p1:Id>1</d5p1:Id>
<d5p1:NamePlural>sample string 6</d5p1:NamePlural>
<d5p1:NameSingular>sample string 5</d5p1:NameSingular>
<d5p1:ParentCode>sample string 3</d5p1:ParentCode>
<d5p1:Route>sample string 7</d5p1:Route>
</d4p1:RelatedType>
<d4p1:SelectIsSearchable>true</d4p1:SelectIsSearchable>
<d4p1:SelectUrl>sample string 9</d4p1:SelectUrl>
<d4p1:Title>sample string 3</d4p1:Title>
<d4p1:Value />
</d2p1:Field>
<d2p1:Group>
<d2p1:Id>1</d2p1:Id>
<d2p1:Title>sample string 2</d2p1:Title>
</d2p1:Group>
<d2p1:IsLabelMuted>true</d2p1:IsLabelMuted>
</d2p1:CoreCustomFieldDataCreateEditView>
</CustomFieldDatas>
<FulfillmentProcessId>3</FulfillmentProcessId>
<Id>1</Id>
<IsCreate>true</IsCreate>
<ProductId>6</ProductId>
<SaleProductOrderDetailItem xmlns:d2p1="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.SaleProductOrderView">
<d2p1:FulfillmentBoardName>sample string 8</d2p1:FulfillmentBoardName>
<d2p1:FulfillmentBoardStageName>sample string 9</d2p1:FulfillmentBoardStageName>
<d2p1:FulfillmentId>1</d2p1:FulfillmentId>
<d2p1:HasFulfillmentProcess>true</d2p1:HasFulfillmentProcess>
<d2p1:Id>1</d2p1:Id>
<d2p1:Image xmlns:d3p1="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GalleryView">
<Description xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 11</Description>
<ExternalCode xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 10</ExternalCode>
<FileDomain xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 5</FileDomain>
<FileExtension xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 7</FileExtension>
<FilePath xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 3</FilePath>
<FileType xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">None</FileType>
<Id xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">1</Id>
<IsExternalCode xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsExternalCode>
<IsExternalUrl xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsExternalUrl>
<Order xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">6</Order>
<Style xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">Default</Style>
<Title xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 2</Title>
<Token xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 4</Token>
</d2p1:Image>
<d2p1:Price>4</d2p1:Price>
<d2p1:ProductName>sample string 2</d2p1:ProductName>
<d2p1:ProductVariationName>sample string 3</d2p1:ProductVariationName>
<d2p1:Quantity>7</d2p1:Quantity>
<d2p1:TotalPrice>5</d2p1:TotalPrice>
<d2p1:VatRateValue>6</d2p1:VatRateValue>
</SaleProductOrderDetailItem>
<SaleProductOrderItemId>5</SaleProductOrderItemId>
<ThisViewModelName>sample string 7</ThisViewModelName>
</FulfillmentSaleProductOrderItemCreateEditView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.