POST api/contracts/servicecontract
Creates a service contract.
Request Information
URI Parameters
None.
Body Parameters
ServiceContractData| Name | 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. |
|
| PhoneNumber |
Phone number 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. |
| IP |
IP address of the user. |
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",
"PhoneNumber": "sample string 8",
"Dni": "sample string 9",
"Nacionalidad": "sample string 10",
"Direccion": "sample string 11",
"CodigoPostal": "sample string 12",
"Poblacion": "sample string 13",
"DescripcionServicio": "sample string 14",
"Honorarios": "sample string 15",
"FormaPago": "sample string 16",
"ImporteDesplazamiento": 17.0,
"ImporteFotocopias": 18,
"ProcedimientoJudicial": "sample string 19",
"IP": "sample string 20"
}
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 12</CodigoPostal> <DescripcionServicio>sample string 14</DescripcionServicio> <Direccion>sample string 11</Direccion> <DireccionFiscal>sample string 5</DireccionFiscal> <Dni>sample string 9</Dni> <Email>sample string 7</Email> <FormaPago>sample string 16</FormaPago> <Honorarios>sample string 15</Honorarios> <IP>sample string 20</IP> <ImporteDesplazamiento>17</ImporteDesplazamiento> <ImporteFotocopias>18</ImporteFotocopias> <Language>sample string 1</Language> <Nacionalidad>sample string 10</Nacionalidad> <Nombre>sample string 6</Nombre> <NombreColegio>sample string 3</NombreColegio> <NombreProfesional>sample string 2</NombreProfesional> <NumeroColegiado>sample string 4</NumeroColegiado> <PhoneNumber>sample string 8</PhoneNumber> <Poblacion>sample string 13</Poblacion> <ProcedimientoJudicial>sample string 19</ProcedimientoJudicial> <ServiceContractType>Lawyer</ServiceContractType> </ServiceContractData>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |