POST api/AdminStageOrder

Request Information

URI Parameters

None.

Body Parameters

Collection of StagingModel
NameDescriptionTypeAdditional information
OrderType

string

None.

CustomerAccount

string

None.

Origin

string

None.

OriginUrl

string

None.

Status

string

None.

StageAs

string

None.

GroupBy

string

None.

Criteria

Collection of CustomerModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "OrderType": "sample string 1",
    "CustomerAccount": "sample string 2",
    "Origin": "sample string 3",
    "OriginUrl": "sample string 4",
    "Status": "sample string 5",
    "StageAs": "sample string 6",
    "GroupBy": "sample string 7",
    "Criteria": [
      {
        "UserID": "sample string 1",
        "CustomerId": "sample string 2",
        "fname": "sample string 3",
        "FirstName": "sample string 4",
        "lname": "sample string 5",
        "LastName": "sample string 6",
        "address1": "sample string 7",
        "address2": "sample string 8",
        "city": "sample string 9",
        "state": "sample string 10",
        "zip": "sample string 11",
        "company_name": "sample string 12",
        "email": "sample string 13",
        "EmailAddress": "sample string 14",
        "Gender": "sample string 15",
        "EmpId": "sample string 16",
        "EmpType": "sample string 17",
        "orderNum": "sample string 18",
        "phone": "sample string 19",
        "location": "sample string 20",
        "dept": "sample string 21",
        "Department": "sample string 22",
        "personalization": "sample string 23",
        "varField_1": "sample string 24",
        "varField_2": "sample string 25",
        "varField_3": "sample string 26"
      },
      {
        "UserID": "sample string 1",
        "CustomerId": "sample string 2",
        "fname": "sample string 3",
        "FirstName": "sample string 4",
        "lname": "sample string 5",
        "LastName": "sample string 6",
        "address1": "sample string 7",
        "address2": "sample string 8",
        "city": "sample string 9",
        "state": "sample string 10",
        "zip": "sample string 11",
        "company_name": "sample string 12",
        "email": "sample string 13",
        "EmailAddress": "sample string 14",
        "Gender": "sample string 15",
        "EmpId": "sample string 16",
        "EmpType": "sample string 17",
        "orderNum": "sample string 18",
        "phone": "sample string 19",
        "location": "sample string 20",
        "dept": "sample string 21",
        "Department": "sample string 22",
        "personalization": "sample string 23",
        "varField_1": "sample string 24",
        "varField_2": "sample string 25",
        "varField_3": "sample string 26"
      }
    ]
  },
  {
    "OrderType": "sample string 1",
    "CustomerAccount": "sample string 2",
    "Origin": "sample string 3",
    "OriginUrl": "sample string 4",
    "Status": "sample string 5",
    "StageAs": "sample string 6",
    "GroupBy": "sample string 7",
    "Criteria": [
      {
        "UserID": "sample string 1",
        "CustomerId": "sample string 2",
        "fname": "sample string 3",
        "FirstName": "sample string 4",
        "lname": "sample string 5",
        "LastName": "sample string 6",
        "address1": "sample string 7",
        "address2": "sample string 8",
        "city": "sample string 9",
        "state": "sample string 10",
        "zip": "sample string 11",
        "company_name": "sample string 12",
        "email": "sample string 13",
        "EmailAddress": "sample string 14",
        "Gender": "sample string 15",
        "EmpId": "sample string 16",
        "EmpType": "sample string 17",
        "orderNum": "sample string 18",
        "phone": "sample string 19",
        "location": "sample string 20",
        "dept": "sample string 21",
        "Department": "sample string 22",
        "personalization": "sample string 23",
        "varField_1": "sample string 24",
        "varField_2": "sample string 25",
        "varField_3": "sample string 26"
      },
      {
        "UserID": "sample string 1",
        "CustomerId": "sample string 2",
        "fname": "sample string 3",
        "FirstName": "sample string 4",
        "lname": "sample string 5",
        "LastName": "sample string 6",
        "address1": "sample string 7",
        "address2": "sample string 8",
        "city": "sample string 9",
        "state": "sample string 10",
        "zip": "sample string 11",
        "company_name": "sample string 12",
        "email": "sample string 13",
        "EmailAddress": "sample string 14",
        "Gender": "sample string 15",
        "EmpId": "sample string 16",
        "EmpType": "sample string 17",
        "orderNum": "sample string 18",
        "phone": "sample string 19",
        "location": "sample string 20",
        "dept": "sample string 21",
        "Department": "sample string 22",
        "personalization": "sample string 23",
        "varField_1": "sample string 24",
        "varField_2": "sample string 25",
        "varField_3": "sample string 26"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfStagingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/capForm.Models">
  <StagingModel>
    <Criteria>
      <CustomerModel>
        <CustomerId>sample string 2</CustomerId>
        <Department>sample string 22</Department>
        <EmailAddress>sample string 14</EmailAddress>
        <EmpId>sample string 16</EmpId>
        <EmpType>sample string 17</EmpType>
        <FirstName>sample string 4</FirstName>
        <Gender>sample string 15</Gender>
        <LastName>sample string 6</LastName>
        <UserID>sample string 1</UserID>
        <address1>sample string 7</address1>
        <address2>sample string 8</address2>
        <city>sample string 9</city>
        <company_name>sample string 12</company_name>
        <dept>sample string 21</dept>
        <email>sample string 13</email>
        <fname>sample string 3</fname>
        <lname>sample string 5</lname>
        <location>sample string 20</location>
        <orderNum>sample string 18</orderNum>
        <personalization>sample string 23</personalization>
        <phone>sample string 19</phone>
        <state>sample string 10</state>
        <varField_1>sample string 24</varField_1>
        <varField_2>sample string 25</varField_2>
        <varField_3>sample string 26</varField_3>
        <zip>sample string 11</zip>
      </CustomerModel>
      <CustomerModel>
        <CustomerId>sample string 2</CustomerId>
        <Department>sample string 22</Department>
        <EmailAddress>sample string 14</EmailAddress>
        <EmpId>sample string 16</EmpId>
        <EmpType>sample string 17</EmpType>
        <FirstName>sample string 4</FirstName>
        <Gender>sample string 15</Gender>
        <LastName>sample string 6</LastName>
        <UserID>sample string 1</UserID>
        <address1>sample string 7</address1>
        <address2>sample string 8</address2>
        <city>sample string 9</city>
        <company_name>sample string 12</company_name>
        <dept>sample string 21</dept>
        <email>sample string 13</email>
        <fname>sample string 3</fname>
        <lname>sample string 5</lname>
        <location>sample string 20</location>
        <orderNum>sample string 18</orderNum>
        <personalization>sample string 23</personalization>
        <phone>sample string 19</phone>
        <state>sample string 10</state>
        <varField_1>sample string 24</varField_1>
        <varField_2>sample string 25</varField_2>
        <varField_3>sample string 26</varField_3>
        <zip>sample string 11</zip>
      </CustomerModel>
    </Criteria>
    <CustomerAccount>sample string 2</CustomerAccount>
    <GroupBy>sample string 7</GroupBy>
    <OrderType>sample string 1</OrderType>
    <Origin>sample string 3</Origin>
    <OriginUrl>sample string 4</OriginUrl>
    <StageAs>sample string 6</StageAs>
    <Status>sample string 5</Status>
  </StagingModel>
  <StagingModel>
    <Criteria>
      <CustomerModel>
        <CustomerId>sample string 2</CustomerId>
        <Department>sample string 22</Department>
        <EmailAddress>sample string 14</EmailAddress>
        <EmpId>sample string 16</EmpId>
        <EmpType>sample string 17</EmpType>
        <FirstName>sample string 4</FirstName>
        <Gender>sample string 15</Gender>
        <LastName>sample string 6</LastName>
        <UserID>sample string 1</UserID>
        <address1>sample string 7</address1>
        <address2>sample string 8</address2>
        <city>sample string 9</city>
        <company_name>sample string 12</company_name>
        <dept>sample string 21</dept>
        <email>sample string 13</email>
        <fname>sample string 3</fname>
        <lname>sample string 5</lname>
        <location>sample string 20</location>
        <orderNum>sample string 18</orderNum>
        <personalization>sample string 23</personalization>
        <phone>sample string 19</phone>
        <state>sample string 10</state>
        <varField_1>sample string 24</varField_1>
        <varField_2>sample string 25</varField_2>
        <varField_3>sample string 26</varField_3>
        <zip>sample string 11</zip>
      </CustomerModel>
      <CustomerModel>
        <CustomerId>sample string 2</CustomerId>
        <Department>sample string 22</Department>
        <EmailAddress>sample string 14</EmailAddress>
        <EmpId>sample string 16</EmpId>
        <EmpType>sample string 17</EmpType>
        <FirstName>sample string 4</FirstName>
        <Gender>sample string 15</Gender>
        <LastName>sample string 6</LastName>
        <UserID>sample string 1</UserID>
        <address1>sample string 7</address1>
        <address2>sample string 8</address2>
        <city>sample string 9</city>
        <company_name>sample string 12</company_name>
        <dept>sample string 21</dept>
        <email>sample string 13</email>
        <fname>sample string 3</fname>
        <lname>sample string 5</lname>
        <location>sample string 20</location>
        <orderNum>sample string 18</orderNum>
        <personalization>sample string 23</personalization>
        <phone>sample string 19</phone>
        <state>sample string 10</state>
        <varField_1>sample string 24</varField_1>
        <varField_2>sample string 25</varField_2>
        <varField_3>sample string 26</varField_3>
        <zip>sample string 11</zip>
      </CustomerModel>
    </Criteria>
    <CustomerAccount>sample string 2</CustomerAccount>
    <GroupBy>sample string 7</GroupBy>
    <OrderType>sample string 1</OrderType>
    <Origin>sample string 3</Origin>
    <OriginUrl>sample string 4</OriginUrl>
    <StageAs>sample string 6</StageAs>
    <Status>sample string 5</Status>
  </StagingModel>
</ArrayOfStagingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StagingModel[]'.

Response Information

Resource Description

None.