POST api/contracts/servicecontract
Creates a service contract.
Request Information
URI Parameters
None.
Body Parameters
ServiceContractDataName | Description | Type | Additional information |
---|---|---|---|
ServiceContractType |
Type of service contract. |
ServiceContractTypeId |
None. |
Language |
Language of the contract. |
string |
None. |
NombreProfesional |
Name of the professional. |
string |
None. |
NombreColegio |
Name of the professional college. |
string |
None. |
NumeroColegiado |
Collegiate number. |
string |
None. |
DireccionFiscal |
Billing address of the professional. |
string |
None. |
Nombre |
Full name of the person receiving the order. |
string |
None. |
Email address of the person receiving the order. |
string |
None. |
|
Dni |
Identity number of the person receiving the order. |
string |
None. |
Nacionalidad |
Nationality of the person receiving the order. |
string |
None. |
Direccion |
Postal address of the person receiving the order. |
string |
None. |
CodigoPostal |
Postal code of the person receiving the order. |
string |
None. |
Poblacion |
City of the person receiving the order. |
string |
None. |
DescripcionServicio |
Description of the service. |
string |
None. |
Honorarios |
Professional fees. |
string |
None. |
FormaPago |
Payment method. |
string |
None. |
ImporteDesplazamiento |
Commute cost. |
decimal number |
None. |
ImporteFotocopias |
Photocopies cost. |
integer |
None. |
ProcedimientoJudicial |
Number of the judicial procedure. |
string |
None. |
Request Formats
application/json, text/json
{ "ServiceContractType": "Lawyer", "Language": "sample string 1", "NombreProfesional": "sample string 2", "NombreColegio": "sample string 3", "NumeroColegiado": "sample string 4", "DireccionFiscal": "sample string 5", "Nombre": "sample string 6", "Email": "sample string 7", "Dni": "sample string 8", "Nacionalidad": "sample string 9", "Direccion": "sample string 10", "CodigoPostal": "sample string 11", "Poblacion": "sample string 12", "DescripcionServicio": "sample string 13", "Honorarios": "sample string 14", "FormaPago": "sample string 15", "ImporteDesplazamiento": 16.0, "ImporteFotocopias": 17, "ProcedimientoJudicial": "sample string 18" }
application/xml, text/xml
<ServiceContractData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PuntoNeutro.Core.Contracts"> <CodigoPostal>sample string 11</CodigoPostal> <DescripcionServicio>sample string 13</DescripcionServicio> <Direccion>sample string 10</Direccion> <DireccionFiscal>sample string 5</DireccionFiscal> <Dni>sample string 8</Dni> <Email>sample string 7</Email> <FormaPago>sample string 15</FormaPago> <Honorarios>sample string 14</Honorarios> <ImporteDesplazamiento>16</ImporteDesplazamiento> <ImporteFotocopias>17</ImporteFotocopias> <Language>sample string 1</Language> <Nacionalidad>sample string 9</Nacionalidad> <Nombre>sample string 6</Nombre> <NombreColegio>sample string 3</NombreColegio> <NombreProfesional>sample string 2</NombreProfesional> <NumeroColegiado>sample string 4</NumeroColegiado> <Poblacion>sample string 12</Poblacion> <ProcedimientoJudicial>sample string 18</ProcedimientoJudicial> <ServiceContractType>Lawyer</ServiceContractType> </ServiceContractData>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |