POST api/Ast/EditScoreSection

Request Information

URI Parameters

None.

Body Parameters

EditScoreSectionInput
NameDescriptionTypeAdditional information
Id

string

None.

IsSingle

boolean

None.

Start

integer

None.

End

integer

None.

Desc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "IsSingle": true,
  "Start": 3,
  "End": 4,
  "Desc": "sample string 5"
}

text/xml

Sample:
<EditScoreSectionInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ems.Domain.Ast.Dtos.InputDtos">
  <Desc>sample string 5</Desc>
  <End>4</End>
  <Id>sample string 1</Id>
  <IsSingle>true</IsSingle>
  <Start>3</Start>
</EditScoreSectionInput>

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

Response Information

Resource Description

ServiceResult
NameDescriptionTypeAdditional information
RetCode

integer

None.

Msg

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "RetCode": 1,
  "Msg": "sample string 2",
  "Result": {}
}

text/xml

Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tdf.Utils.Networking">
  <Msg>sample string 2</Msg>
  <Result />
  <RetCode>1</RetCode>
</ServiceResult>