POST api/Pyramid/AddUserStatementOrderResponse

Request Information

URI Parameters

None.

Body Parameters

UserOrderStatementListViewModel
NameDescriptionTypeAdditional information
orderstatement

Collection of UserOrderStatementDetailsViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "orderstatement": [
    {
      "orderstatementmasterid": 1,
      "orderstatementinstruction": "sample string 2",
      "statementtext": "sample string 3",
      "userorderstatementdetailsid": 4,
      "logininfoid": 5,
      "coursemasterid": 6,
      "coursesessiondetailsid": 7,
      "orderstatementdetailsid": 8,
      "orderstatementanswerid": 9,
      "colorcode": "sample string 10",
      "orderby": 11
    },
    {
      "orderstatementmasterid": 1,
      "orderstatementinstruction": "sample string 2",
      "statementtext": "sample string 3",
      "userorderstatementdetailsid": 4,
      "logininfoid": 5,
      "coursemasterid": 6,
      "coursesessiondetailsid": 7,
      "orderstatementdetailsid": 8,
      "orderstatementanswerid": 9,
      "colorcode": "sample string 10",
      "orderby": 11
    }
  ]
}

application/xml, text/xml

Sample:
<UserOrderStatementListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfhatch.Models">
  <orderstatement>
    <UserOrderStatementDetailsViewModel>
      <colorcode>sample string 10</colorcode>
      <coursemasterid>6</coursemasterid>
      <coursesessiondetailsid>7</coursesessiondetailsid>
      <logininfoid>5</logininfoid>
      <orderby>11</orderby>
      <orderstatementanswerid>9</orderstatementanswerid>
      <orderstatementdetailsid>8</orderstatementdetailsid>
      <orderstatementinstruction>sample string 2</orderstatementinstruction>
      <orderstatementmasterid>1</orderstatementmasterid>
      <statementtext>sample string 3</statementtext>
      <userorderstatementdetailsid>4</userorderstatementdetailsid>
    </UserOrderStatementDetailsViewModel>
    <UserOrderStatementDetailsViewModel>
      <colorcode>sample string 10</colorcode>
      <coursemasterid>6</coursemasterid>
      <coursesessiondetailsid>7</coursesessiondetailsid>
      <logininfoid>5</logininfoid>
      <orderby>11</orderby>
      <orderstatementanswerid>9</orderstatementanswerid>
      <orderstatementdetailsid>8</orderstatementdetailsid>
      <orderstatementinstruction>sample string 2</orderstatementinstruction>
      <orderstatementmasterid>1</orderstatementmasterid>
      <statementtext>sample string 3</statementtext>
      <userorderstatementdetailsid>4</userorderstatementdetailsid>
    </UserOrderStatementDetailsViewModel>
  </orderstatement>
</UserOrderStatementListViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

errorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {},
  "errorCode": 4
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfhatch.Models">
  <data />
  <errorCode>4</errorCode>
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>