HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/EAVAttributeDefCUD HTTP/1.1
Host: ncsu.yuniquecloud.com
Content-Type: application/xml
Content-Length: length
<EAVAttributeDefCUD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs">
<AttributeDefs xmlns:d2p1="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs.POCOs">
<d2p1:EAVAttributeDefItem>
<d2p1:AttributeDefID>00000000-0000-0000-0000-000000000000</d2p1:AttributeDefID>
<d2p1:AttributeTypeID>00000000-0000-0000-0000-000000000000</d2p1:AttributeTypeID>
<d2p1:CDate>0001-01-01T00:00:00</d2p1:CDate>
<d2p1:CUser>String</d2p1:CUser>
<d2p1:DefaultValueBoolean>0</d2p1:DefaultValueBoolean>
<d2p1:DefaultValueDate>0001-01-01T00:00:00</d2p1:DefaultValueDate>
<d2p1:DefaultValueDecimal>0</d2p1:DefaultValueDecimal>
<d2p1:DefaultValueInteger>0</d2p1:DefaultValueInteger>
<d2p1:DefaultValueLookupID>00000000-0000-0000-0000-000000000000</d2p1:DefaultValueLookupID>
<d2p1:DefaultValueMoney>0</d2p1:DefaultValueMoney>
<d2p1:DefaultValueText>String</d2p1:DefaultValueText>
<d2p1:Description>String</d2p1:Description>
<d2p1:LimitLowerDate>0001-01-01T00:00:00</d2p1:LimitLowerDate>
<d2p1:LimitLowerNumber>0</d2p1:LimitLowerNumber>
<d2p1:LimitMaxChar>0</d2p1:LimitMaxChar>
<d2p1:LimitMinChar>0</d2p1:LimitMinChar>
<d2p1:LimitUpperDate>0001-01-01T00:00:00</d2p1:LimitUpperDate>
<d2p1:LimitUpperNumber>0</d2p1:LimitUpperNumber>
<d2p1:LookupQueryID>00000000-0000-0000-0000-000000000000</d2p1:LookupQueryID>
<d2p1:LookupTypeID>00000000-0000-0000-0000-000000000000</d2p1:LookupTypeID>
<d2p1:MDate>0001-01-01T00:00:00</d2p1:MDate>
<d2p1:MUser>String</d2p1:MUser>
<d2p1:Name>String</d2p1:Name>
<d2p1:ToolTip>String</d2p1:ToolTip>
<d2p1:ValidationTextRegex>String</d2p1:ValidationTextRegex>
</d2p1:EAVAttributeDefItem>
</AttributeDefs>
</EAVAttributeDefCUD>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<EAVAttributeDefCUDResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs">
<NewIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
</NewIDs>
<RecordCount>0</RecordCount>
</EAVAttributeDefCUDResponse>