POST Course/UpdateCourse
Request Information
URI Parameters
None.
Body Parameters
CourseUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CourseCode | string |
None. |
|
| ExpertName | string |
None. |
|
| CourseName | string |
None. |
|
| ApplicableObject | integer |
None. |
|
| CustomerNo | string |
None. |
|
| PcImg | string |
None. |
|
| MobileImg | string |
None. |
|
| CourseDetailImg | string |
None. |
|
| Timelength | integer |
None. |
|
| Price | decimal number |
None. |
|
| Expertid | integer |
None. |
|
| CreateId | integer |
None. |
|
| CourseTypes | Collection of integer |
None. |
|
| FirstTypeIds | Collection of integer |
None. |
|
| Source | integer |
None. |
|
| ProfessionalLevel | integer |
None. |
|
| Remark | string |
None. |
|
| SourceCompany | string |
None. |
|
| CourseExtend | CourseExtendDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"CourseCode": "sample string 1",
"ExpertName": "sample string 2",
"CourseName": "sample string 3",
"ApplicableObject": 1,
"CustomerNo": "sample string 4",
"PcImg": "sample string 5",
"MobileImg": "sample string 6",
"CourseDetailImg": "sample string 7",
"Timelength": 8,
"Price": 9.0,
"Expertid": 10,
"CreateId": 11,
"CourseTypes": [
1,
2
],
"FirstTypeIds": [
1,
2
],
"Source": 12,
"ProfessionalLevel": 1,
"Remark": "sample string 13",
"SourceCompany": "sample string 14",
"CourseExtend": {
"Description": "sample string 1",
"Edescription": "sample string 2"
}
}
application/xml, text/xml
Sample:
<CourseUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO">
<ApplicableObject>1</ApplicableObject>
<CourseDetailImg>sample string 7</CourseDetailImg>
<CourseExtend>
<Description>sample string 1</Description>
<Edescription>sample string 2</Edescription>
</CourseExtend>
<CourseName>sample string 3</CourseName>
<CourseTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</CourseTypes>
<CreateId>11</CreateId>
<CustomerNo>sample string 4</CustomerNo>
<Expertid>10</Expertid>
<FirstTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</FirstTypeIds>
<MobileImg>sample string 6</MobileImg>
<PcImg>sample string 5</PcImg>
<Price>9</Price>
<ProfessionalLevel>1</ProfessionalLevel>
<Remark>sample string 13</Remark>
<Source>12</Source>
<SourceCompany>sample string 14</SourceCompany>
<Timelength>8</Timelength>
<CourseCode>sample string 1</CourseCode>
<ExpertName>sample string 2</ExpertName>
</CourseUpdateDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.