POST api/Representant
Update ou crée un représentant
Request Information
URI Parameters
None.
Body Parameters
Données à update
REPRESENTANT| Name | Description | Type | Additional information |
|---|---|---|---|
| zzmaj | integer |
None. |
|
| zzutil | string |
None. |
|
| zzposte | string |
None. |
|
| zzdate | string |
None. |
|
| zzheure | string |
None. |
|
| zzsynchro | integer |
None. |
|
| code | string |
None. |
|
| nom | string |
None. |
|
| abrege | string |
None. |
|
| tel | string |
None. |
|
| tel_mobile | string |
None. |
|
| string |
None. |
||
| titre | string |
None. |
|
| ID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"zzmaj": 1,
"zzutil": "sample string 2",
"zzposte": "sample string 3",
"zzdate": "sample string 4",
"zzheure": "sample string 5",
"zzsynchro": 6,
"code": "sample string 7",
"nom": "sample string 8",
"abrege": "sample string 9",
"tel": "sample string 10",
"tel_mobile": "sample string 11",
"email": "sample string 12",
"titre": "sample string 13",
"ID": "sample string 7"
}
application/xml, text/xml
Sample:
<REPRESENTANT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase"> <ID>sample string 7</ID> <abrege>sample string 9</abrege> <code>sample string 7</code> <email>sample string 12</email> <nom>sample string 8</nom> <tel>sample string 10</tel> <tel_mobile>sample string 11</tel_mobile> <titre>sample string 13</titre> <zzdate>sample string 4</zzdate> <zzheure>sample string 5</zzheure> <zzmaj>1</zzmaj> <zzposte>sample string 3</zzposte> <zzsynchro>6</zzsynchro> <zzutil>sample string 2</zzutil> </REPRESENTANT>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JSonGenericOfREPRESENTANT| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | REPRESENTANT |
None. |
|
| Datas | REPRESENTANT |
None. |
|
| ServiceName | string |
None. |
|
| Parameters | string |
None. |
|
| Status | ReturnErrorStatus |
None. |
|
| ErrorMessage | string |
None. |
|
| Error | jsonExceptionIES |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": {
"zzmaj": 1,
"zzutil": "sample string 2",
"zzposte": "sample string 3",
"zzdate": "sample string 4",
"zzheure": "sample string 5",
"zzsynchro": 6,
"code": "sample string 7",
"nom": "sample string 8",
"abrege": "sample string 9",
"tel": "sample string 10",
"tel_mobile": "sample string 11",
"email": "sample string 12",
"titre": "sample string 13",
"ID": "sample string 7"
},
"Datas": {
"zzmaj": 1,
"zzutil": "sample string 2",
"zzposte": "sample string 3",
"zzdate": "sample string 4",
"zzheure": "sample string 5",
"zzsynchro": 6,
"code": "sample string 7",
"nom": "sample string 8",
"abrege": "sample string 9",
"tel": "sample string 10",
"tel_mobile": "sample string 11",
"email": "sample string 12",
"titre": "sample string 13",
"ID": "sample string 7"
},
"ServiceName": "sample string 1",
"Parameters": "sample string 2",
"Status": 0,
"ErrorMessage": "sample string 3",
"Error": {
"Code": "sample string 1",
"Details": "sample string 2",
"Message": "sample string 3",
"Level": 1
}
}
application/xml, text/xml
Sample:
<JSonGenericOfREPRESENTANTNO3w4qvB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ForSagaMiddleware">
<Error>
<Code>sample string 1</Code>
<Details>sample string 2</Details>
<Level>Info</Level>
<Message>sample string 3</Message>
</Error>
<ErrorMessage>sample string 3</ErrorMessage>
<Parameters>sample string 2</Parameters>
<ServiceName>sample string 1</ServiceName>
<Status>Error</Status>
<Datas xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">
<d2p1:ID>sample string 7</d2p1:ID>
<d2p1:abrege>sample string 9</d2p1:abrege>
<d2p1:code>sample string 7</d2p1:code>
<d2p1:email>sample string 12</d2p1:email>
<d2p1:nom>sample string 8</d2p1:nom>
<d2p1:tel>sample string 10</d2p1:tel>
<d2p1:tel_mobile>sample string 11</d2p1:tel_mobile>
<d2p1:titre>sample string 13</d2p1:titre>
<d2p1:zzdate>sample string 4</d2p1:zzdate>
<d2p1:zzheure>sample string 5</d2p1:zzheure>
<d2p1:zzmaj>1</d2p1:zzmaj>
<d2p1:zzposte>sample string 3</d2p1:zzposte>
<d2p1:zzsynchro>6</d2p1:zzsynchro>
<d2p1:zzutil>sample string 2</d2p1:zzutil>
</Datas>
<Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">
<d2p1:ID>sample string 7</d2p1:ID>
<d2p1:abrege>sample string 9</d2p1:abrege>
<d2p1:code>sample string 7</d2p1:code>
<d2p1:email>sample string 12</d2p1:email>
<d2p1:nom>sample string 8</d2p1:nom>
<d2p1:tel>sample string 10</d2p1:tel>
<d2p1:tel_mobile>sample string 11</d2p1:tel_mobile>
<d2p1:titre>sample string 13</d2p1:titre>
<d2p1:zzdate>sample string 4</d2p1:zzdate>
<d2p1:zzheure>sample string 5</d2p1:zzheure>
<d2p1:zzmaj>1</d2p1:zzmaj>
<d2p1:zzposte>sample string 3</d2p1:zzposte>
<d2p1:zzsynchro>6</d2p1:zzsynchro>
<d2p1:zzutil>sample string 2</d2p1:zzutil>
</Response>
</JSonGenericOfREPRESENTANTNO3w4qvB>