POST api/Reliability/AddPartNumber

Request Information

URI Parameters

None.

Body Parameters

ReferenceDataMdl
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

typeId

integer

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedDate

date

None.

ModifiedDate

date

None.

Description

string

None.

PartNumberId

integer

None.

CityId

integer

None.

CityName

string

None.

StateId

integer

None.

StateName

string

None.

CountyId

integer

None.

CountyName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "typeId": 3,
  "IsActive": true,
  "IsDeleted": true,
  "CreatedDate": "2024-11-22T21:35:48.9042264-06:00",
  "ModifiedDate": "2024-11-22T21:35:48.9042264-06:00",
  "Description": "sample string 8",
  "PartNumberId": 1,
  "CityId": 1,
  "CityName": "sample string 9",
  "StateId": 1,
  "StateName": "sample string 10",
  "CountyId": 1,
  "CountyName": "sample string 11"
}

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

Response Information

Resource Description

ResponseMdl
NameDescriptionTypeAdditional information
Status

boolean

None.

Data

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Data": {},
  "Message": "sample string 3"
}