POST api/scope/update

Request Information

URI Parameters

None.

Body Parameters

Scope
NameDescriptionTypeAdditional information
ScopeId

integer

None.

Code

string

Required

Name

string

Required

Description

string

None.

CreatedBy

string

String length: inclusive between 0 and 50

UpdatedBy

string

String length: inclusive between 0 and 50

CreatedOn

date

None.

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ScopeId": 1,
  "Code": "sample string 2",
  "Name": "sample string 3",
  "Description": "sample string 4",
  "CreatedBy": "sample string 5",
  "UpdatedBy": "sample string 6",
  "CreatedOn": "2022-09-26T11:07:29.1872936-05:00",
  "UpdatedOn": "2022-09-26T11:07:29.1872936-05:00"
}

text/xml

Sample:
<Scope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Parameter">
  <Code>sample string 2</Code>
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedOn>2022-09-26T11:07:29.1872936-05:00</CreatedOn>
  <Description>sample string 4</Description>
  <Name>sample string 3</Name>
  <ScopeId>1</ScopeId>
  <UpdatedBy>sample string 6</UpdatedBy>
  <UpdatedOn>2022-09-26T11:07:29.1872936-05:00</UpdatedOn>
</Scope>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.