POST api/fulfillment/process/createedit

Request Information

URI Parameters

None.

Body Parameters

FulfillmentProcessCreateEditView
NameDescriptionTypeAdditional information
Id

integer

None.

IsCreate

boolean

None.

Name

string

None.

BoardId

integer

None.

FulfillmentTypes

Collection of SelectListItem

None.

FulfillmentTypeId

integer

None.

Stages

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IsCreate": true,
  "Name": "sample string 3",
  "BoardId": 4,
  "FulfillmentTypes": [
    {
      "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"
    }
  ],
  "FulfillmentTypeId": 5,
  "Stages": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<FulfillmentProcessCreateEditView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.FulfillmentView">
  <BoardId>4</BoardId>
  <FulfillmentTypeId>5</FulfillmentTypeId>
  <FulfillmentTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
    <d2p1:SelectListItem>
      <d2p1:Disabled>true</d2p1:Disabled>
      <d2p1:Group>
        <d2p1:Disabled>true</d2p1:Disabled>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Group>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 3</d2p1:Text>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Disabled>true</d2p1:Disabled>
      <d2p1:Group>
        <d2p1:Disabled>true</d2p1:Disabled>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Group>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 3</d2p1:Text>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:SelectListItem>
  </FulfillmentTypes>
  <Id>1</Id>
  <IsCreate>true</IsCreate>
  <Name>sample string 3</Name>
  <Stages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Stages>
</FulfillmentProcessCreateEditView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.