POST api/contactaddresses/{contactid}
הוספת כתובת לאיש קשר
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contactid |
מזהה איש קשר |
globally unique identifier |
Required |
Body Parameters
כתובת
ContactAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| ucc_address_type |
סוג כתובת |
ucc_address_type |
None. |
| ucc_address_property |
מאפיין כתובת |
ucc_address_property |
None. |
| ucc_apartment |
דירה |
string |
None. |
| ucc_city_id |
עיר |
ucc_city |
None. |
| ucc_country_id |
מדינה |
Country |
None. |
| ucc_entrance |
כניסה |
string |
None. |
| ucc_floor |
קומה |
string |
None. |
| ucc_house_number |
מספר בית |
string |
None. |
| ucc_Is_Address_identical |
האם זהה לכתובת למשלוח דואר? |
boolean |
None. |
| ucc_mailbox |
תיבת דואר |
string |
None. |
| ucc_name |
שם |
string |
None. |
| ucc_postalcode_id |
מיקוד - לא בשימוש כרגע |
ucc_postalcode |
None. |
| ucc_street_id |
רחוב |
ucc_street |
None. |
| ucc_priority |
עדיפות |
ucc_priority |
None. |
| Id |
Dynamics 365 primary key. |
globally unique identifier |
None. |
| CreatedOn |
נוצר ב |
date |
None. |
| ModifiedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ucc_address_type": null,
"ucc_address_property": null,
"ucc_apartment": null,
"ucc_city_id": {
"displayName": "øòððä",
"id": "5d4c8b21-b1ca-e611-80f4-5065f38b0311",
"createdOn": null,
"modifiedOn": null
},
"ucc_country_id": {
"displayName": "éùøàì",
"id": "e3a229ce-39cd-e611-80f4-5065f38b0311",
"createdOn": null,
"modifiedOn": null
},
"ucc_entrance": null,
"ucc_floor": null,
"ucc_house_number": null,
"ucc_Is_Address_identical": null,
"ucc_mailbox": null,
"ucc_name": null,
"ucc_postalcode_id": null,
"ucc_street_id": {
"displayName": "àçåæä",
"id": "a3438144-a7d1-e611-80f4-5065f38bd4e1",
"createdOn": null,
"modifiedOn": null
},
"ucc_priority": null,
"id": "00000000-0000-0000-0000-000000000000",
"createdOn": null,
"modifiedOn": null
}
application/xml, text/xml
Sample:
<ContactAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Youcc.D365.ICPA.DataModel">
<CreatedOn i:nil="true" />
<Id>00000000-0000-0000-0000-000000000000</Id>
<ModifiedOn i:nil="true" />
<ucc_Is_Address_identical i:nil="true" />
<ucc_address_property i:nil="true" />
<ucc_address_type i:nil="true" />
<ucc_apartment i:nil="true" />
<ucc_city_id>
<CreatedOn i:nil="true" />
<Id>5d4c8b21-b1ca-e611-80f4-5065f38b0311</Id>
<ModifiedOn i:nil="true" />
<DisplayName>øòððä</DisplayName>
</ucc_city_id>
<ucc_country_id>
<CreatedOn i:nil="true" />
<Id>e3a229ce-39cd-e611-80f4-5065f38b0311</Id>
<ModifiedOn i:nil="true" />
<DisplayName>éùøàì</DisplayName>
</ucc_country_id>
<ucc_entrance i:nil="true" />
<ucc_floor i:nil="true" />
<ucc_house_number i:nil="true" />
<ucc_mailbox i:nil="true" />
<ucc_name i:nil="true" />
<ucc_postalcode_id i:nil="true" />
<ucc_priority i:nil="true" />
<ucc_street_id>
<CreatedOn i:nil="true" />
<Id>a3438144-a7d1-e611-80f4-5065f38bd4e1</Id>
<ModifiedOn i:nil="true" />
<DisplayName>àçåæä</DisplayName>
</ucc_street_id>
</ContactAddress>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.