POST api/customer
Request Information
URI Parameters
None.
Body Parameters
CustomerGuestUpdateInfoName | Description | Type | Additional information |
---|---|---|---|
ParentId | globally unique identifier |
None. |
|
CustomerId | globally unique identifier |
None. |
|
Address | string |
None. |
|
Address2 | string |
None. |
|
City | string |
None. |
|
StateId | string |
None. |
|
Zip | string |
None. |
|
ZipExtension | string |
None. |
|
Phone | string |
None. |
|
CellPhone | string |
None. |
|
WorkPhone | string |
None. |
|
string |
None. |
||
Sex | character |
None. |
|
CustomerContacts | Collection of CustomerContactInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "ParentId": "c8fb80c5-a5ee-4137-8bbd-d6bea2a624b3", "CustomerId": "c70b42d6-ed21-41cd-be72-0a8fe744b066", "Address": "sample string 1", "Address2": "sample string 2", "City": "sample string 3", "StateId": "sample string 4", "Zip": "sample string 5", "ZipExtension": "sample string 6", "Phone": "sample string 7", "CellPhone": "sample string 8", "WorkPhone": "sample string 9", "EMail": "sample string 10", "Sex": "A", "CustomerContacts": [ { "CustomerContactId": "6cf1079e-bbcd-40e4-823b-5ac346cf4d9b", "CustomerId": "c7272302-56a9-4909-b936-315d4841adfe", "Name": "sample string 3", "Relationship": "sample string 4", "Phone1": "sample string 5", "Phone2": "sample string 6", "Phone3": "sample string 7", "Email": "sample string 8", "IsParentOrGuardian": true, "IsSignatureOnFile": true, "IsEmergencyContact": true, "IsPrimaryEmergencyContact": true, "IsPickupAuthorized": true, "Order": 14, "LastModified": "2025-01-21T22:40:18.437252-08:00", "LastModifiedBy": "sample string 16" }, { "CustomerContactId": "6cf1079e-bbcd-40e4-823b-5ac346cf4d9b", "CustomerId": "c7272302-56a9-4909-b936-315d4841adfe", "Name": "sample string 3", "Relationship": "sample string 4", "Phone1": "sample string 5", "Phone2": "sample string 6", "Phone3": "sample string 7", "Email": "sample string 8", "IsParentOrGuardian": true, "IsSignatureOnFile": true, "IsEmergencyContact": true, "IsPrimaryEmergencyContact": true, "IsPickupAuthorized": true, "Order": 14, "LastModified": "2025-01-21T22:40:18.437252-08:00", "LastModifiedBy": "sample string 16" } ] }
application/xml, text/xml
Sample:
<CustomerGuestUpdateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCMS.Models.Api"> <Address>sample string 1</Address> <Address2>sample string 2</Address2> <CellPhone>sample string 8</CellPhone> <City>sample string 3</City> <CustomerContacts> <CustomerContactInfo> <CustomerContactId>6cf1079e-bbcd-40e4-823b-5ac346cf4d9b</CustomerContactId> <CustomerId>c7272302-56a9-4909-b936-315d4841adfe</CustomerId> <Email>sample string 8</Email> <IsEmergencyContact>true</IsEmergencyContact> <IsParentOrGuardian>true</IsParentOrGuardian> <IsPickupAuthorized>true</IsPickupAuthorized> <IsPrimaryEmergencyContact>true</IsPrimaryEmergencyContact> <IsSignatureOnFile>true</IsSignatureOnFile> <LastModified>2025-01-21T22:40:18.437252-08:00</LastModified> <LastModifiedBy>sample string 16</LastModifiedBy> <Name>sample string 3</Name> <Order>14</Order> <Phone1>sample string 5</Phone1> <Phone2>sample string 6</Phone2> <Phone3>sample string 7</Phone3> <Relationship>sample string 4</Relationship> </CustomerContactInfo> <CustomerContactInfo> <CustomerContactId>6cf1079e-bbcd-40e4-823b-5ac346cf4d9b</CustomerContactId> <CustomerId>c7272302-56a9-4909-b936-315d4841adfe</CustomerId> <Email>sample string 8</Email> <IsEmergencyContact>true</IsEmergencyContact> <IsParentOrGuardian>true</IsParentOrGuardian> <IsPickupAuthorized>true</IsPickupAuthorized> <IsPrimaryEmergencyContact>true</IsPrimaryEmergencyContact> <IsSignatureOnFile>true</IsSignatureOnFile> <LastModified>2025-01-21T22:40:18.437252-08:00</LastModified> <LastModifiedBy>sample string 16</LastModifiedBy> <Name>sample string 3</Name> <Order>14</Order> <Phone1>sample string 5</Phone1> <Phone2>sample string 6</Phone2> <Phone3>sample string 7</Phone3> <Relationship>sample string 4</Relationship> </CustomerContactInfo> </CustomerContacts> <CustomerId>c70b42d6-ed21-41cd-be72-0a8fe744b066</CustomerId> <EMail>sample string 10</EMail> <ParentId>c8fb80c5-a5ee-4137-8bbd-d6bea2a624b3</ParentId> <Phone>sample string 7</Phone> <Sex>65</Sex> <StateId>sample string 4</StateId> <WorkPhone>sample string 9</WorkPhone> <Zip>sample string 5</Zip> <ZipExtension>sample string 6</ZipExtension> </CustomerGuestUpdateInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfObjectName | Description | Type | Additional information |
---|---|---|---|
Content | Object |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.