PUT api/EntregaAmbito/{nit}/{token}
Put Ambito Entrega, está expuesto para las prescripciones del ambito Urgencias y Hospitalario
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
nit | string |
Required |
|
token | string |
Required |
Body Parameters
AmbitoEntregaEntradaAPIName | Description | Type | Additional information |
---|---|---|---|
NoPrescripcion | string |
None. |
|
TipoTec | string |
String length: inclusive between 0 and 1 |
|
ConTec | integer |
Range: inclusive between 1 and 99 |
|
TipoIDPaciente | string |
String length: inclusive between 0 and 2 |
|
NoIDPaciente | string |
String length: inclusive between 0 and 17 |
|
NoEntrega | integer |
Range: inclusive between 1 and 9999 |
|
CodSerTecEntregado | string |
String length: inclusive between 0 and 20 |
|
CantTotEntregada | string |
String length: inclusive between 0 and 20 |
|
EntTotal | integer |
None. |
|
CausaNoEntrega | integer |
Range: inclusive between 0 and 99 |
|
FecEntrega | string |
None. |
|
NoLote | string |
String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{ "NoPrescripcion": "sample string 1", "TipoTec": "sample string 2", "ConTec": 3, "TipoIDPaciente": "sample string 4", "NoIDPaciente": "sample string 5", "NoEntrega": 1, "CodSerTecEntregado": "sample string 6", "CantTotEntregada": "sample string 7", "EntTotal": 1, "CausaNoEntrega": 1, "FecEntrega": "sample string 8", "NoLote": "sample string 9" }
text/html
Sample:
{"NoPrescripcion":"sample string 1","TipoTec":"sample string 2","ConTec":3,"TipoIDPaciente":"sample string 4","NoIDPaciente":"sample string 5","NoEntrega":1,"CodSerTecEntregado":"sample string 6","CantTotEntregada":"sample string 7","EntTotal":1,"CausaNoEntrega":1,"FecEntrega":"sample string 8","NoLote":"sample string 9"}
application/xml, text/xml
Sample:
<AmbitoEntregaEntradaAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSAccesoDatosSUM.Repositorio"> <CantTotEntregada>sample string 7</CantTotEntregada> <CausaNoEntrega>1</CausaNoEntrega> <CodSerTecEntregado>sample string 6</CodSerTecEntregado> <ConTec>3</ConTec> <EntTotal>1</EntTotal> <FecEntrega>sample string 8</FecEntrega> <NoEntrega>1</NoEntrega> <NoIDPaciente>sample string 5</NoIDPaciente> <NoLote>sample string 9</NoLote> <NoPrescripcion>sample string 1</NoPrescripcion> <TipoIDPaciente>sample string 4</TipoIDPaciente> <TipoTec>sample string 2</TipoTec> </AmbitoEntregaEntradaAPI>
Response Information
Resource Description
Collection of IdentificadorEntregaName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
IdEntrega | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "IdEntrega": 2 }, { "Id": 1, "IdEntrega": 2 } ]
text/html
Sample:
[{"Id":1,"IdEntrega":2},{"Id":1,"IdEntrega":2}]
application/xml, text/xml
Sample:
<ArrayOfIdentificadorEntrega xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSSuministroAPI.Controllers"> <IdentificadorEntrega> <Id>1</Id> <IdEntrega>2</IdEntrega> </IdentificadorEntrega> <IdentificadorEntrega> <Id>1</Id> <IdEntrega>2</IdEntrega> </IdentificadorEntrega> </ArrayOfIdentificadorEntrega>