POST TopCustomerResource

Request Information

URI Parameters

None.

Body Parameters

TopCustomerResourceDTO
NameDescriptionTypeAdditional information
CustomerNo

string

None.

CourseCodes

Collection of string

None.

IsTop

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerNo": "sample string 1",
  "CourseCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "IsTop": 2
}

application/xml, text/xml

Sample:
<TopCustomerResourceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <CourseCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CourseCodes>
  <CustomerNo>sample string 1</CustomerNo>
  <IsTop>2</IsTop>
</TopCustomerResourceDTO>

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 'TopCustomerResourceDTO'.

Response Information

Resource Description

None.