POST api/OrganizationPhone?AccessToken={AccessToken}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
Required |
Body Parameters
CreateOrganizationPhoneRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrganizationId | integer |
None. |
|
| PhoneType | PhoneType |
None. |
|
| PhoneNumber | integer |
None. |
|
| CountryCode | integer |
None. |
|
| AreaCode | integer |
None. |
|
| Extension | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrganizationId": 1,
"PhoneType": {
"Name": "sample string 1",
"Description": "sample string 2"
},
"PhoneNumber": 2,
"CountryCode": 3,
"AreaCode": 4,
"Extension": 5
}
application/xml, text/xml
Sample:
<CreateOrganizationPhoneRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Udyoga.Models.OrganizationModels.OrganizationPhone">
<AreaCode>4</AreaCode>
<CountryCode>3</CountryCode>
<Extension>5</Extension>
<PhoneNumber>2</PhoneNumber>
<PhoneType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Udyoga.Models.GenericModels">
<d2p1:Description>sample string 2</d2p1:Description>
<d2p1:Name>sample string 1</d2p1:Name>
</PhoneType>
<OrganizationId>1</OrganizationId>
</CreateOrganizationPhoneRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.