PUT api/party/update

Request Information

URI Parameters

None.

Body Parameters

PartyModel
NameDescriptionTypeAdditional information
PartyID

integer

None.

VendorID

integer

None.

PartyName

string

None.

Area

string

None.

MobileNumber

string

None.

DemandMode

byte

None.

IsActive

boolean

None.

CurrentBalance

decimal number

None.

BrandMappings

Collection of PartyBrandMappingModel

None.

Request Formats

application/json, text/json

Sample:
{
  "PartyID": 1,
  "VendorID": 1,
  "PartyName": "sample string 2",
  "Area": "sample string 3",
  "MobileNumber": "sample string 4",
  "DemandMode": 64,
  "IsActive": true,
  "CurrentBalance": 7.0,
  "BrandMappings": [
    {
      "BrandID": 1,
      "RouteID": 1,
      "NewRouteName": "sample string 2",
      "OpeningBalance": 3.0,
      "DeliverySequence": 4
    },
    {
      "BrandID": 1,
      "RouteID": 1,
      "NewRouteName": "sample string 2",
      "OpeningBalance": 3.0,
      "DeliverySequence": 4
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.