Skip to content

Instantly share code, notes, and snippets.

@expiscornovus
Created April 19, 2024 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save expiscornovus/58a226f161ae4883ef110667f342e07c to your computer and use it in GitHub Desktop.
Save expiscornovus/58a226f161ae4883ef110667f342e07c to your computer and use it in GitHub Desktop.
Response Create Currency Field
{
"d": {
"__metadata": {
"id": "https://contoso.sharepoint.com/sites/PowerUsers/_api/Web/Lists(guid'9f7a4039-16f1-4aec-b912-957f2e6ecf8e')/Fields(guid'4eb6c0b8-e034-4124-83ae-0a39936f66af')",
"uri": "https://contoso.sharepoint.com/sites/PowerUsers/_api/Web/Lists(guid'9f7a4039-16f1-4aec-b912-957f2e6ecf8e')/Fields(guid'4eb6c0b8-e034-4124-83ae-0a39936f66af')",
"type": "SP.FieldCurrency"
},
"DescriptionResource": {
"__deferred": {
"uri": "https://contoso.sharepoint.com/sites/PowerUsers/_api/Web/Lists(guid'9f7a4039-16f1-4aec-b912-957f2e6ecf8e')/Fields(guid'4eb6c0b8-e034-4124-83ae-0a39936f66af')/DescriptionResource"
}
},
"TitleResource": {
"__deferred": {
"uri": "https://contoso.sharepoint.com/sites/PowerUsers/_api/Web/Lists(guid'9f7a4039-16f1-4aec-b912-957f2e6ecf8e')/Fields(guid'4eb6c0b8-e034-4124-83ae-0a39936f66af')/TitleResource"
}
},
"AutoIndexed": false,
"CanBeDeleted": true,
"ClientSideComponentId": "00000000-0000-0000-0000-000000000000",
"ClientSideComponentProperties": null,
"ClientValidationFormula": null,
"ClientValidationMessage": null,
"CustomFormatter": null,
"DefaultFormula": null,
"DefaultValue": null,
"Description": "",
"Direction": "none",
"EnforceUniqueValues": false,
"EntityPropertyName": "Budget",
"Filterable": true,
"FromBaseType": false,
"Group": "Custom Columns",
"Hidden": false,
"Id": "4eb6c0b8-e034-4124-83ae-0a39936f66af",
"Indexed": false,
"IndexStatus": 0,
"InternalName": "Budget",
"IsModern": false,
"JSLink": "clienttemplates.js",
"PinnedToFiltersPane": false,
"ReadOnlyField": false,
"Required": false,
"SchemaXml": "<Field DisplayName=\"Budget\" Type=\"Currency\" Required=\"FALSE\" ID=\"{4eb6c0b8-e034-4124-83ae-0a39936f66af}\" SourceID=\"{9f7a4039-16f1-4aec-b912-957f2e6ecf8e}\" StaticName=\"Budget\" Name=\"Budget\" ColName=\"float1\" RowOrdinal=\"0\" LCID=\"1043\" Version=\"1\" />",
"Scope": "/sites/PowerUsers/Lists/Custom Fields",
"Sealed": false,
"ShowInFiltersPane": 0,
"Sortable": true,
"StaticName": "Budget",
"Title": "Budget",
"FieldTypeKind": 10,
"TypeAsString": "Currency",
"TypeDisplayName": "Currency",
"TypeShortDescription": "Currency ($, ¥, €)",
"ValidationFormula": null,
"ValidationMessage": null,
"CommaSeparator": true,
"CustomUnitName": null,
"CustomUnitOnRight": false,
"DisplayFormat": -1,
"MaximumValue": 1.7976931348623157e+308,
"MinimumValue": -1.7976931348623157e+308,
"ShowAsPercentage": false,
"Unit": null,
"CurrencyLocaleId": 1043
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment