POST api/PageStatus/CreatePageBulk

Request Information

URI Parameters

None.

Body Parameters

Collection of PageStatusSimple
NameDescriptionTypeAdditional information
PageName

string

None.

PageUrl

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PageName": "sample string 1",
    "PageUrl": "sample string 2"
  },
  {
    "PageName": "sample string 1",
    "PageUrl": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPageStatusSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <PageStatusSimple>
    <PageName>sample string 1</PageName>
    <PageUrl>sample string 2</PageUrl>
  </PageStatusSimple>
  <PageStatusSimple>
    <PageName>sample string 1</PageName>
    <PageUrl>sample string 2</PageUrl>
  </PageStatusSimple>
</ArrayOfPageStatusSimple>

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 'List`1'.

Response Information

Resource Description

None.