POST AddCustomerResource

Request Information

URI Parameters

None.

Body Parameters

CustomerResourceDTO
NameDescriptionTypeAdditional information
CustomerNo

string

None.

CourseCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerNo": "sample string 1",
  "CourseCode": "sample string 2"
}

application/xml, text/xml

Sample:
<CustomerResourceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <CourseCode>sample string 2</CourseCode>
  <CustomerNo>sample string 1</CustomerNo>
</CustomerResourceDTO>

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

Response Information

Resource Description

None.