POST api/calidad/upsertpnc

Upsert de registro PNC

Informacion Request

URI Parametros

Ninguno.

Parametros Body

Objeto PNC Class

PNC
NombreDescripcionTipoInformacion Adicicional
Company_Id

integer

Ninguno.

Site_Id

integer

Ninguno.

PNC_Id

integer

Ninguno.

InvEntity_Id

integer

Ninguno.

InvObject_Id

integer

Ninguno.

PNC_IdGeneric

integer

Ninguno.

PNC_DateCreate

date

Ninguno.

PNC_UserCre

string

Ninguno.

PNC_Status

integer

Ninguno.

PNC_Type

integer

Ninguno.

PNC_Date

date

Ninguno.

PNC_Parent

integer

Ninguno.

PNC_ISO

integer

Ninguno.

PNC_Source

integer

Ninguno.

PNC_BossID

integer

Ninguno.

PNC_ResponsibleID

integer

Ninguno.

Business_Partner_Id

string

Ninguno.

PNC_Description

string

Ninguno.

PNC_Home

string

Ninguno.

PNC_Cause

string

Ninguno.

PNC_Action

string

Ninguno.

PNC_Action_EndDate

date

Ninguno.

PNC_Action_Status

integer

Ninguno.

PNC_ActionDescription

string

Ninguno.

PNC_ActionDescription_EndDate

date

Ninguno.

PNC_ActionDescription_Status

integer

Ninguno.

PNC_Supervision_Execution

string

Ninguno.

PNC_Supervision_Execution_EndDate

date

Ninguno.

PNC_Effectiveness

string

Ninguno.

PNC_Effectiveness_EndDate

date

Ninguno.

PNC_SendState

integer

Ninguno.

Warehouse_Id

integer

Ninguno.

QASRules_Id

integer

Ninguno.

Formato Request

application/json, text/json

Ejemplo:
{
  "Company_Id": 1,
  "Site_Id": 2,
  "PNC_Id": 3,
  "InvEntity_Id": 1,
  "InvObject_Id": 1,
  "PNC_IdGeneric": 1,
  "PNC_DateCreate": "2025-10-26T17:06:29.1423385-03:00",
  "PNC_UserCre": "sample string 4",
  "PNC_Status": 1,
  "PNC_Type": 1,
  "PNC_Date": "2025-10-26T17:06:29.1423385-03:00",
  "PNC_Parent": 1,
  "PNC_ISO": 1,
  "PNC_Source": 1,
  "PNC_BossID": 1,
  "PNC_ResponsibleID": 1,
  "Business_Partner_Id": "sample string 5",
  "PNC_Description": "sample string 6",
  "PNC_Home": "sample string 7",
  "PNC_Cause": "sample string 8",
  "PNC_Action": "sample string 9",
  "PNC_Action_EndDate": "2025-10-26T17:06:29.1423385-03:00",
  "PNC_Action_Status": 1,
  "PNC_ActionDescription": "sample string 10",
  "PNC_ActionDescription_EndDate": "2025-10-26T17:06:29.1423385-03:00",
  "PNC_ActionDescription_Status": 1,
  "PNC_Supervision_Execution": "sample string 11",
  "PNC_Supervision_Execution_EndDate": "2025-10-26T17:06:29.1423385-03:00",
  "PNC_Effectiveness": "sample string 12",
  "PNC_Effectiveness_EndDate": "2025-10-26T17:06:29.1423385-03:00",
  "PNC_SendState": 1,
  "Warehouse_Id": 1,
  "QASRules_Id": 1
}

application/xml, text/xml

Ejemplo:
<PNC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Framework">
  <Business_Partner_Id>sample string 5</Business_Partner_Id>
  <Company_Id>1</Company_Id>
  <InvEntity_Id>1</InvEntity_Id>
  <InvObject_Id>1</InvObject_Id>
  <PNC_Action>sample string 9</PNC_Action>
  <PNC_ActionDescription>sample string 10</PNC_ActionDescription>
  <PNC_ActionDescription_EndDate>2025-10-26T17:06:29.1423385-03:00</PNC_ActionDescription_EndDate>
  <PNC_ActionDescription_Status>1</PNC_ActionDescription_Status>
  <PNC_Action_EndDate>2025-10-26T17:06:29.1423385-03:00</PNC_Action_EndDate>
  <PNC_Action_Status>1</PNC_Action_Status>
  <PNC_BossID>1</PNC_BossID>
  <PNC_Cause>sample string 8</PNC_Cause>
  <PNC_Date>2025-10-26T17:06:29.1423385-03:00</PNC_Date>
  <PNC_DateCreate>2025-10-26T17:06:29.1423385-03:00</PNC_DateCreate>
  <PNC_Description>sample string 6</PNC_Description>
  <PNC_Effectiveness>sample string 12</PNC_Effectiveness>
  <PNC_Effectiveness_EndDate>2025-10-26T17:06:29.1423385-03:00</PNC_Effectiveness_EndDate>
  <PNC_Home>sample string 7</PNC_Home>
  <PNC_ISO>1</PNC_ISO>
  <PNC_Id>3</PNC_Id>
  <PNC_IdGeneric>1</PNC_IdGeneric>
  <PNC_Parent>1</PNC_Parent>
  <PNC_ResponsibleID>1</PNC_ResponsibleID>
  <PNC_SendState>1</PNC_SendState>
  <PNC_Source>1</PNC_Source>
  <PNC_Status>1</PNC_Status>
  <PNC_Supervision_Execution>sample string 11</PNC_Supervision_Execution>
  <PNC_Supervision_Execution_EndDate>2025-10-26T17:06:29.1423385-03:00</PNC_Supervision_Execution_EndDate>
  <PNC_Type>1</PNC_Type>
  <PNC_UserCre>sample string 4</PNC_UserCre>
  <QASRules_Id>1</QASRules_Id>
  <Site_Id>2</Site_Id>
  <Warehouse_Id>1</Warehouse_Id>
</PNC>

application/x-www-form-urlencoded

Ejemplo:

Sample not available.

Informacion Response

Descripcion Recurso

HttpResponseMessage
NombreDescripcionTipoInformacion Adicicional
Version

Version

Ninguno.

Content

HttpContent

Ninguno.

StatusCode

HttpStatusCode

Ninguno.

ReasonPhrase

string

Ninguno.

Headers

Collection of Object

Ninguno.

RequestMessage

HttpRequestMessage

Ninguno.

IsSuccessStatusCode

boolean

Ninguno.