POST api/UnitClassPhotoCategory/UpdateName

班级相册[修改-名称]

Request Information

URI Parameters

None.

Body Parameters

UpdateNameInput
NameDescriptionTypeAdditional information
UnitID

单位ID

globally unique identifier

None.

ClassID

班级ID

globally unique identifier

None.

CategoryID

相册ID

globally unique identifier

None.

CategoryName

相册名称[最多30个汉字]

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "c56a2cb6-5ed1-4929-a4d9-c1d124c2b702",
  "ClassID": "2d36e0b9-9bbf-49bb-b884-f02c10d80831",
  "CategoryID": "408e22b1-00de-4ad1-a998-75d28ceff378",
  "CategoryName": "sample string 4"
}

application/xml, text/xml

Sample:
<UnitClassPhotoCategoryController.UpdateNameInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.PortalClass">
  <CategoryID>408e22b1-00de-4ad1-a998-75d28ceff378</CategoryID>
  <CategoryName>sample string 4</CategoryName>
  <ClassID>2d36e0b9-9bbf-49bb-b884-f02c10d80831</ClassID>
  <UnitID>c56a2cb6-5ed1-4929-a4d9-c1d124c2b702</UnitID>
</UnitClassPhotoCategoryController.UpdateNameInput>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.