POST partners/partner
Request Information
URI Parameters
None.
Body Parameters
partnerModelName | Description | Type | Additional information |
---|---|---|---|
id | integer (Int32) |
None. |
|
name | string |
Required Max length: 128 |
|
image | string |
None. |
|
imageExtension | string |
None. |
|
isActive | boolean |
Required |
|
createdInfo | string |
None. |
|
updatedInfo | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "image": "sample string 3", "imageExtension": "sample string 4", "isActive": true, "createdInfo": "sample string 6", "updatedInfo": "sample string 7" }
application/xml, text/xml
Sample:
<partnerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"> <createdInfo>sample string 6</createdInfo> <id>1</id> <image>sample string 3</image> <imageExtension>sample string 4</imageExtension> <isActive>true</isActive> <name>sample string 2</name> <updatedInfo>sample string 7</updatedInfo> </partnerModel>
multipart/form-data
Sample:
<partnerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><createdInfo>sample string 6</createdInfo><id>1</id><image>sample string 3</image><imageExtension>sample string 4</imageExtension><isActive>true</isActive><name>sample string 2</name><updatedInfo>sample string 7</updatedInfo></partnerModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.