POST api/Segments/PostSegment
Request Information
URI Parameters
None.
Body Parameters
SegmentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Code | string |
None. |
|
Libelle | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Code": "sample string 2", "Libelle": "sample string 3" }
application/xml, text/xml
Sample:
<Segment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <Code>sample string 2</Code> <Id>1</Id> <Libelle>sample string 3</Libelle> </Segment>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SegmentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Code | string |
None. |
|
Libelle | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Code": "sample string 2", "Libelle": "sample string 3" }
application/xml, text/xml
Sample:
<Segment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <Code>sample string 2</Code> <Id>1</Id> <Libelle>sample string 3</Libelle> </Segment>