POST api/v1/partners
Request Information
URI Parameters
None.
Body Parameters
PartnerDtoName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Name | string |
None. |
|
MobilePhone | string |
None. |
|
Phone | string |
None. |
|
string |
None. |
||
IsDeletable | boolean |
None. |
|
OrganizationCode | string |
None. |
|
CreationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "name": "sample string 2", "mobilePhone": "sample string 3", "phone": "sample string 4", "email": "sample string 5", "isDeletable": true, "organizationCode": "sample string 7", "creationDate": "2025-08-31T08:51:12.2669108+00:00" }
application/xml, text/xml
Sample:
<PartnerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos"> <Code>sample string 1</Code> <CreationDate>2025-08-31T08:51:12.2669108+00:00</CreationDate> <Email>sample string 5</Email> <IsDeletable>true</IsDeletable> <MobilePhone>sample string 3</MobilePhone> <Name>sample string 2</Name> <OrganizationCode>sample string 7</OrganizationCode> <Phone>sample string 4</Phone> </PartnerDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.