POST api/MarketManagement/Save

Request Information

URI Parameters

None.

Body Parameters

MarketBindingModel
NameDescriptionTypeAdditional information
MarketId

integer

None.

MarketIdentifier

string

Required

String length: inclusive between 0 and 25

MarketName

string

Required

String length: inclusive between 0 and 50

TimeZoneDiffHours

integer

None.

TimeZoneId

string

None.

CccUserId

integer

None.

CccTelephone

string

String length: inclusive between 0 and 15

CccEmail

string

String length: inclusive between 0 and 128

Comment

string

None.

UpdateKey

integer

None.

SavedUserId

integer

None.

SavedDateTime

date

None.

CmnMarketId

string

String length: inclusive between 0 and 50

CkcMarketId

integer

None.

DonorNetMarketId

integer

None.

DeletedYn

boolean

None.

CanDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "marketId": 1,
  "marketIdentifier": "sample string 2",
  "marketName": "sample string 3",
  "timeZoneDiffHours": 1,
  "timeZoneId": "sample string 4",
  "cccUserId": 1,
  "cccTelephone": "sample string 5",
  "cccEmail": "sample string 6",
  "comment": "sample string 7",
  "updateKey": 8,
  "savedUserId": 9,
  "savedDateTime": "2023-02-03T11:02:32.3248003+00:00",
  "cmnMarketId": "sample string 11",
  "ckcMarketId": 1,
  "donorNetMarketId": 1,
  "deletedYn": true,
  "canDelete": true
}

application/xml, text/xml

Sample:
<MarketBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <CanDelete>true</CanDelete>
  <CccEmail>sample string 6</CccEmail>
  <CccTelephone>sample string 5</CccTelephone>
  <CccUserId>1</CccUserId>
  <CkcMarketId>1</CkcMarketId>
  <CmnMarketId>sample string 11</CmnMarketId>
  <Comment>sample string 7</Comment>
  <DeletedYn>true</DeletedYn>
  <DonorNetMarketId>1</DonorNetMarketId>
  <MarketId>1</MarketId>
  <MarketIdentifier>sample string 2</MarketIdentifier>
  <MarketName>sample string 3</MarketName>
  <SavedDateTime>2023-02-03T11:02:32.3248003+00:00</SavedDateTime>
  <SavedUserId>9</SavedUserId>
  <TimeZoneDiffHours>1</TimeZoneDiffHours>
  <TimeZoneId>sample string 4</TimeZoneId>
  <UpdateKey>8</UpdateKey>
</MarketBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.