POST api/courses/coverup
封面上传
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
封面上传
JsonRtnDtoOfFileUpDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | FileUpDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "ResourceId": "99cc7c8b-5e5c-4ebc-8b3d-e689580b662a", "FileLink": "sample string 2", "FileName": "sample string 3" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"ResourceId":"99cc7c8b-5e5c-4ebc-8b3d-e689580b662a","FileLink":"sample string 2","FileName":"sample string 3"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfFileUpDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <FileLink>sample string 2</FileLink> <FileName>sample string 3</FileName> <ResourceId>99cc7c8b-5e5c-4ebc-8b3d-e689580b662a</ResourceId> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfFileUpDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"ResourceId":"99cc7c8b-5e5c-4ebc-8b3d-e689580b662a","FileLink":"sample string 2","FileName":"sample string 3"}});